Worker
AuthorityCallResult
The outcome of one AuthorityRpcWithReply call, handed to its callback exactly once.
generated from the sources
Struct in namespace
Nebula · Packages/com.1by3.nebula/Runtime/Worker/AuthorityCallContract.cspublic readonly struct AuthorityCallResultThe outcome of one AuthorityRpcWithReply call, handed to its callback exactly once.
Constructors
AuthorityCallResult
public AuthorityCallResult(ulong callId, AuthorityCallOutcome outcome, uint targetEpoch, byte hops);Properties
CallId
public ulong CallId { get; }The call id the sender minted (AuthorityCallId); 0 for a call applied locally without a wire trip.
Outcome
public AuthorityCallOutcome Outcome { get; }What happened to the call.
TargetEpoch
public uint TargetEpoch { get; }The entity's epoch on the worker that decided the outcome; 0 when that worker did not hold the entity.
Hops
public byte Hops { get; }How many times the call was forwarded before it was decided.
Succeeded
public bool Succeeded { get; }True when Outcome is AuthorityCallOutcome.Accepted.
Methods
ToString
public override string ToString();