sablier_thread_program::thread_program

Function thread_instruction_add

source
pub fn thread_instruction_add(
    ctx: Context<'_, '_, '_, '_, ThreadInstructionAdd<'_>>,
    instruction: SerializableInstruction,
) -> Result<()>
Expand description

Appends a new instruction to the thread’s instruction set.