Anchorage API reference
Documentation
GitHub
Preparing search index...
@proofoftech/flowsafe
agent-host
RemoteStepDispatchReader
Interface RemoteStepDispatchReader
interface
RemoteStepDispatchReader
{
deploymentId
:
string
;
tablePrefix
:
string
;
consumePermit
(
permit
:
RemoteStepPermit
,
)
:
Promise
<
{
kind
:
"accepted"
;
rawPermit
:
string
}
|
{
kind
:
"already-consumed"
}
,
>
;
get
(
invocationId
:
string
)
:
Promise
<
RemoteStepInvocation
|
undefined
>
;
issuePermit
(
invocationId
:
string
,
lifetimeMs
:
number
,
)
:
Promise
<
RemoteStepPermit
>
;
readDispatchRequestJson
(
invocationId
:
string
)
:
Promise
<
string
>
;
}
Index
Properties
deployment
Id
table
Prefix
Methods
consume
Permit
get
issue
Permit
read
Dispatch
Request
Json
Properties
deployment
Id
deploymentId
:
string
table
Prefix
tablePrefix
:
string
Methods
consume
Permit
consumePermit
(
permit
:
RemoteStepPermit
,
)
:
Promise
<
{
kind
:
"accepted"
;
rawPermit
:
string
}
|
{
kind
:
"already-consumed"
}
,
>
Parameters
permit
:
RemoteStepPermit
Returns
Promise
<
{
kind
:
"accepted"
;
rawPermit
:
string
}
|
{
kind
:
"already-consumed"
}
>
get
get
(
invocationId
:
string
)
:
Promise
<
RemoteStepInvocation
|
undefined
>
Parameters
invocationId
:
string
Returns
Promise
<
RemoteStepInvocation
|
undefined
>
issue
Permit
issuePermit
(
invocationId
:
string
,
lifetimeMs
:
number
)
:
Promise
<
RemoteStepPermit
>
Parameters
invocationId
:
string
lifetimeMs
:
number
Returns
Promise
<
RemoteStepPermit
>
read
Dispatch
Request
Json
readDispatchRequestJson
(
invocationId
:
string
)
:
Promise
<
string
>
Parameters
invocationId
:
string
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
deployment
Id
table
Prefix
Methods
consume
Permit
get
issue
Permit
read
Dispatch
Request
Json
Documentation
GitHub
Anchorage API reference
Loading...