Overview
Added
clientFromContext(ctx).streams.subscribe(topic, options)reads a durable stream topic over the invocation socket.streams.events()is now an alias of it and will be removed in a future release.
Installation
pnpm add @hatchet-dev/serverless @hatchet-dev/typescript-sdk zod@hatchet-dev/typescript-sdk (1.41.0 or later, for its /core entry, its durable stream
calls and its task calls) and zod are peer dependencies: the SDK supplies the declaration API, Context, the registration format and
the core client, nothing else.