github hatchet-dev/hatchet serverless/0.1.0
Serverless package 0.1.0

4 hours ago

Overview

Added

  • Serverless task handlers for Cloudflare Workers, Vercel and Node, driven by the in-engine serverless operator: signed POST delivery for pure tasks (hatchetClient: false) and the invocation websocket for every other task, including durable tasks with sleeps, waits and child runs.
  • clientFromContext(ctx): child runs, durable stream topics and run events over the socket, with refreshTimeout and releaseSlot through the SDK's /core client.
  • @hatchet-dev/serverless/testing: an in-process operator for tests without Hatchet.

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.

What's Changed?

Don't miss a new hatchet release

NewReleases is sending notifications on new releases.