Skip to content

WorkOptions

Options for work.

Property Type Description
signal? any Stops the work and closes the socket.
keepalive? number Milliseconds between pings. An unanswered ping reconnects. Defaults to 15_000.