nexus-agents - v2.80.0
GitHub
npm
Preparing search index...
ConsensusProtocol
Class ConsensusProtocol
Consensus collaboration protocol.
Implements
ICollaborationProtocol
Index
Constructors
constructor
Properties
pattern
logger
session
cancelled
options
Methods
cancel
execute
Constructors
constructor
new
ConsensusProtocol
(
options
?:
ProtocolOptions
)
:
ConsensusProtocol
Parameters
options
:
ProtocolOptions
= {}
Returns
ConsensusProtocol
Properties
Readonly
pattern
pattern
:
"consensus"
= ...
Protected
Readonly
logger
logger
:
ILogger
Protected
session
session
:
CollaborationSession
|
null
= null
Protected
cancelled
cancelled
:
boolean
= false
Protected
Readonly
options
options
:
ProtocolOptions
Methods
cancel
cancel
(
reason
:
string
)
:
void
Parameters
reason
:
string
Returns
void
execute
execute
(
config
:
CollaborationConfig
,
agents
:
Map
<
string
,
IAgent
>
,
)
:
Promise
<
Result
<
CollaborationResult
,
AgentError
>
>
Parameters
config
:
CollaborationConfig
agents
:
Map
<
string
,
IAgent
>
Returns
Promise
<
Result
<
CollaborationResult
,
AgentError
>
>
Settings
Member Visibility
Protected
Internal
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
pattern
logger
session
cancelled
options
Methods
cancel
execute
GitHub
npm
nexus-agents - v2.80.0
Loading...
Consensus collaboration protocol.