nanolith
Advanced tools
Changelog
[0.4.2] - 2023-8-2
ServiceClusterOptions
and optional autoRenew
option.Service.close()
and exceptionHandler.terminate()
functions.SharedMap.delete()
method.SharedMap.get()
returning null
for non-existent properties, but returning the string of 'null'
for existing properties with values set to null
.Service.call()
hanging forever if the underlying task uses process.exit()
.Changelog
[0.4.1] - 2023-5-2
pool
to use shared values for the active count and concurrency count, enabling the spawning of new threads from other threads.pool
to allow for the enqueuing of new items on all threads.define()
to always return the Nanolith
instance, regardless of whether or not it is being run on the main thread.MainThread
to ParentThread
to match the changes made above + update docs.MainThread...
message body types to be ParentThread...
instead.pool
from 1 thread per core to 2 threads per core + docs update.safeMode
option with define()
.getDefaultPoolConcurrency()
function exported from root + docs.