Skip to main content Link Search Menu Expand Document (external link)

WorkflowContext overview

Added in v1.0.0


Table of contents


symbols

WorkflowContextTypeId

Signature

export declare const WorkflowContextTypeId: typeof WorkflowContextTypeId

Added in v1.0.0

WorkflowContextTypeId (type alias)

Signature

export type WorkflowContextTypeId = typeof WorkflowContextTypeId

Added in v1.0.0

utils

WorkflowContext

Signature

export declare const WorkflowContext: any

Added in v1.0.0

WorkflowContext (interface)

Signature

export interface WorkflowContext {
  makePersistenceId: (localId: string) => string
  durableExecutionJournal: DurableExecutionJournal.DurableExecutionJournal
  isYielding: Effect.Effect<boolean>
  yieldExecution: Effect.Effect<never>
  forkAndJoin: <A, E, R>(persistenceId: string, effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>
  version: string
}

Added in v1.0.0

appendToPersistenceId

Signature

export declare function appendToPersistenceId(suffix: string)

Added in v1.0.0

make

Signature

export declare function make(args: WorkflowContext): WorkflowContext

Added in v1.0.0