typescript
interface ReconnectCapabilityReconnect capability mixin.
Channels that support reconnection implement this interface to allow disconnecting while keeping the worker alive.
Methods
disconnect(): Promise<void>Disconnect from worker but keep process alive
Returns
Promise<void>reconnect(): Promise<void>Reconnect to existing worker
Returns
Promise<void>