🔌nexus_scheduler::invocation_adapter
Function lock_and_request
Locks one Invocation and requests its Tool work through the current runtime.
public fun lock_and_request(authority: &nexus_kernel::runtime_authority::RuntimeAuthority, dag: &nexus_interface::dag::DAG, execution: &mut nexus_workflow::execution::DAGExecution, leader_registry: &nexus_registry::leader::LeaderRegistry, leader_cap: &nexus_primitives::owner_cap::CloneableOwnerCap<nexus_registry::leader_cap::OverNetwork>, walk_index: u64, vertex: nexus_interface::graph::RuntimeVertex, authorized: nexus_tool::invocation::Invocation, submission_gas_charge: u64, clock: &sui::clock::Clock, ctx: &mut sui::tx_context::TxContext)Function settle
Applies one pending Invocation outcome through the current runtime.
public fun settle(authority: &nexus_kernel::runtime_authority::RuntimeAuthority, dag: &nexus_interface::dag::DAG, execution: &mut nexus_workflow::execution::DAGExecution, vertex: nexus_interface::graph::RuntimeVertex, receiving: sui::transfer::Receiving<nexus_tool::invocation::Invocation>)Function abort_expired
Refunds one expired Invocation through the current runtime.
public fun abort_expired(authority: &nexus_kernel::runtime_authority::RuntimeAuthority, dag: &nexus_interface::dag::DAG, execution: &mut nexus_workflow::execution::DAGExecution, vertex: nexus_interface::graph::RuntimeVertex, receiving: sui::transfer::Receiving<nexus_tool::invocation::Invocation>, clock: &sui::clock::Clock, ctx: &mut sui::tx_context::TxContext)Last updated

