@xemahq/temporal-runtime
v0.1.3
Published
<p align="center"> <svg width="680" height="120" viewBox="0 0 680 120" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="@xemahq/temporal-runtime"> <rect width="680" height="120" rx="14" fill="#0B1020"/> <g transform="translate(28,
Downloads
6,037
Readme
@xemahq/temporal-runtime
Shared glue for Temporal workers and clients
Overview
Shared runtime glue for services that run Temporal workflow workers or start workflows. It provides one battle-tested setup so services do not drift: connection handling, an on-behalf-of activity-auth context, a worker factory that wires the interceptor and payload codec, an authenticated service HTTP client for activities, idempotent schedule reconciliation, and a closed set of visibility search attributes.
When to use it
- Use it in any service that runs a Temporal worker or starts a workflow.
Installation
pnpm add @xemahq/temporal-runtimeUsage
import { createPlatformWorker } from '@xemahq/temporal-runtime';
const worker = await createPlatformWorker(workerOptions);
await worker.run();Peer requirements
@nestjs/common^10 || ^11reflect-metadata^0.2
License
Apache-2.0 © Xema — xema.dev
