What problem does it solve?
This skill guides engineers to deploy TypeScript Resonate workers as HTTP-triggered Google Cloud Functions (Gen 2) so durable workflows can resume across short-lived serverless invocations and communicate with a Resonate Server.
Core Features & Use Cases
- GCP shim integration: add the @resonatehq/gcp package and instantiate Resonate using the shim for serverless compatibility.
- Worker pattern: register durable functions and export an HTTP handler compatible with Cloud Functions Gen 2 to resume workflows across invocations.
- Deployment guidance: instructs setting the RESONATE_URL environment variable and deploying with gcloud functions deploy (Gen 2, HTTP trigger).
- Use Cases: deploy countdown workflows, webhook-driven durable jobs, or cost-efficient burstable background processors that need to persist execution state.
Quick Start
Install @resonatehq/gcp, implement and export a handler that registers your workflow, set RESONATE_URL to the Resonate Server URL, and deploy the function with gcloud functions deploy using Gen 2 HTTP trigger and the appropriate environment variables.