Skip to main content

Interface: DurableSourceFindings

What one module's source shows.

Properties​

activityConnections​

activityConnections: string[]

The connection names ctx.activity(...) calls list literally in their connections option (H2), sorted and unique. A list that is not an array literal, or an element that is not a plain string literal, is left out: its names are only known at run time, where the service refuses a connection the definition does not declare.


activityDeclarations​

activityDeclarations: ActivityDeclarationSite[]

The declareActivity(...) calls whose task queue the source states (CX17): a literal queue (or a module constant bound once with const to a string literal), or no queue at all (the activity then runs on the calling workflow's queue). A call whose options are not an object literal, or whose queue is any other expression, is left out: its queue is only known at run time, where SCHEDULE_ACTIVITY refuses managed.


activityImplementations​

activityImplementations: string[]

User-activity implementations the module creates (implementActivity and the like).


features​

features: SourceFeature[]


localActivityFunctions​

localActivityFunctions: number

Local activities given a function literal. Workflow code cannot hand a function to the worker: a user local activity names a declared activity.


localActivityTimeouts​

localActivityTimeouts: number[]

startToCloseTimeout literals of local activities above the cap, in milliseconds.


managedActivityCalls​

managedActivityCalls: number

ctx.activity(...) calls whose options name the managed queue literally (CX17).


open​

open: OpenHandlers

Default handlers the module registers.


userLocalActivityCalls​

userLocalActivityCalls: number

Local activities that run a user activity (gap G5): the first argument is a string literal, or a name the module binds to declareActivity(...). A declaration imported from another module is not seen; the runtime refuses it on managed at run time.