Preparing search index...
The search index is not available
@prayas_abhinav/agentjs-core
@prayas_abhinav/agentjs-core
InteractionType
Interface InteractionType
Interaction type definitions
interface
InteractionType
{
canInitiate
:
(
(
initiator
,
target
)
=>
boolean
)
;
execute
:
(
(
initiator
,
target
,
context
)
=>
InteractionResult
)
;
id
:
string
;
name
:
string
;
priority
:
number
;
range
:
number
;
}
Index
Properties
can
Initiate
execute
id
name
priority
range
Properties
Readonly
can
Initiate
can
Initiate
:
(
(
initiator
,
target
)
=>
boolean
)
Type declaration
(
initiator
,
target
)
:
boolean
Parameters
initiator
:
Agent
target
:
Agent
Returns
boolean
Readonly
execute
execute
:
(
(
initiator
,
target
,
context
)
=>
InteractionResult
)
Type declaration
(
initiator
,
target
,
context
)
:
InteractionResult
Parameters
initiator
:
Agent
target
:
Agent
context
:
InteractionContext
Returns
InteractionResult
Readonly
id
id
:
string
Readonly
name
name
:
string
Readonly
priority
priority
:
number
Readonly
range
range
:
number
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
can
Initiate
execute
id
name
priority
range
@prayas_abhinav/agentjs-core
Loading...
Interaction type definitions