Skip to content

Unsubscribe

createService returns a connection API. You can use it to programmatically disconnect:

const service = createService('1.0.0', handler)
// Later — gracefully disconnect
await service.close()