Type Alias: LifecycleEffectBuilder
type LifecycleEffectBuilder = (ctx: GuardContext) =>
| Record<string, unknown>
| Promise<Record<string, unknown>>;Defined in: server/lifecycle/engine.ts:67
Declared effect → the payload it carries into the outbox. Builders execute
inside send's transaction: keep them fast and deterministic, and perform
external I/O only in the outbox handler.
Parameters
| Parameter | Type |
|---|---|
ctx | GuardContext |
Returns
| Record<string, unknown>
| Promise<Record<string, unknown>>