AxProgramWithSignature
Class: AxProgramWithSignature<IN, OUT>
Extended by
Type Parameters
• IN extends AxGenIn
• OUT extends AxGenOut
Implements
Constructors
new AxProgramWithSignature()
new AxProgramWithSignature<
IN
,OUT
>(signature
):AxProgramWithSignature
<IN
,OUT
>
Parameters
• signature: Readonly
<string
| AxSignature
>
Returns
AxProgramWithSignature
<IN
, OUT
>
Defined in
Properties
demos?
protected
optional
demos:Record
<string
,AxFieldValue
>[]
Defined in
examples?
protected
optional
examples:Record
<string
,AxFieldValue
>[]
Defined in
sigHash
protected
sigHash:string
Defined in
signature
protected
signature:AxSignature
Defined in
trace?
protected
optional
trace:Record
<string
,AxFieldValue
>
Defined in
usage
protected
usage:AxTokenUsage
&object
[] =[]
Defined in
Methods
forward()
forward(
_arg0
,_options
?):Promise
<OUT
>
Parameters
• _arg0: IN
• _options?: Readonly
<AxProgramForwardOptions
>
Returns
Promise
<OUT
>
Defined in
getSignature()
getSignature():
AxSignature
Returns
Defined in
getTraces()
getTraces():
AxProgramTrace
[]
Returns
Implementation of
Defined in
getUsage()
getUsage():
AxTokenUsage
&object
[]
Returns
AxTokenUsage
& object
[]
Implementation of
Defined in
register()
register(
prog
):void
Parameters
• prog: Readonly
<AxTunable
& AxUsable
>
Returns
void
Defined in
resetUsage()
resetUsage():
void
Returns
void
Implementation of
Defined in
setDemos()
setDemos(
demos
):void
Parameters
• demos: readonly AxProgramDemos
[]
Returns
void
Implementation of
Defined in
setExamples()
setExamples(
examples
):void
Parameters
• examples: Readonly
<AxProgramExamples
>
Returns
void
Implementation of
Defined in
setId()
setId(
id
):void
Parameters
• id: string
Returns
void
Implementation of
Defined in
setParentId()
setParentId(
parentId
):void
Parameters
• parentId: string
Returns
void