Header menu logo Nao

AgentLifecycle Module

Functions and values

Function or value Description

completeAsync agentId output lc

Full Usage: completeAsync agentId output lc

Parameters:
Returns: Task<AgentLifecycle>
agentId : AgentId
output : string
lc : AgentLifecycle
Returns: Task<AgentLifecycle>

create ()

Full Usage: create ()

Parameters:
    () : unit

Returns: AgentLifecycle
() : unit
Returns: AgentLifecycle

failAsync agentId error lc

Full Usage: failAsync agentId error lc

Parameters:
Returns: Task<AgentLifecycle>
agentId : AgentId
error : exn
lc : AgentLifecycle
Returns: Task<AgentLifecycle>

initializeAsync agentId lc

Full Usage: initializeAsync agentId lc

Parameters:
Returns: Task<Result<AgentLifecycle, string>>
agentId : AgentId
lc : AgentLifecycle
Returns: Task<Result<AgentLifecycle, string>>

resume agentId lc

Full Usage: resume agentId lc

Parameters:
Returns: AgentLifecycle
agentId : AgentId
lc : AgentLifecycle
Returns: AgentLifecycle

startAsync agentId input lc

Full Usage: startAsync agentId input lc

Parameters:
Returns: Task<AgentLifecycle>
agentId : AgentId
input : string
lc : AgentLifecycle
Returns: Task<AgentLifecycle>

suspend agentId reason lc

Full Usage: suspend agentId reason lc

Parameters:
Returns: AgentLifecycle
agentId : AgentId
reason : string
lc : AgentLifecycle
Returns: AgentLifecycle

terminate agentId reason lc

Full Usage: terminate agentId reason lc

Parameters:
Returns: AgentLifecycle
agentId : AgentId
reason : string
lc : AgentLifecycle
Returns: AgentLifecycle

withHooks hooks lc

Full Usage: withHooks hooks lc

Parameters:
Returns: AgentLifecycle
hooks : ILifecycleHook list
lc : AgentLifecycle
Returns: AgentLifecycle

Type something to start searching.