Protected Readonly dataThe data passed to the worker thread
Protected Readonly shardsThe shards that are managed by this worker
Bootstraps the worker thread with the provided options
Optional options: Readonly<BootstrapOptions>Protected connectProtected destroyHelper method to destroy a shard
Optional options: WebSocketShardDestroyOptionsProtected setupGenerated using TypeDoc
Utility class for bootstrapping a worker thread to be used for sharding