References
Program
Re-exports ProgramProgramRef
Re-exports ProgramRefProgramInput
Re-exports ProgramInputFunctions
createProgramClient
▸ createProgramClient(call): Readonly<{ capture: (options: { source?: BranchReference ; cases?: readonly ScenarioProgramCase[] ; programId?: string }, signal?: AbortSignal) => Promise<Program> ; current: (options: { cases?: readonly ScenarioProgramCase[] ; programId?: string }, signal?: AbortSignal) => Promise<Program> ; get: (ref: ProgramRef) => Program }>
Captured code retains its existing native owner and recovery journal.
Parameters
Returns
Readonly<{ capture: (options: { source?: BranchReference ; cases?: readonly ScenarioProgramCase[] ; programId?: string }, signal?: AbortSignal) => Promise<Program> ; current: (options: { cases?: readonly ScenarioProgramCase[] ; programId?: string }, signal?: AbortSignal) => Promise<Program> ; get: (ref: ProgramRef) => Program }>
defineProgramReference
▸ defineProgramReference(programId, program, bindings): ProgramRef
Parameters
Returns
ProgramRef