OxL Reference

fn pon

on role where nothing can hop (before respond, over a stream): the step runs on the node that reached it (D-5110).

Example:

oxl✓ checked in CI
use std.saga

fn main() io {
  print("{saga.pon("gpu", 7)}")
}
Output
7
pub(api) fn pon<T>(role: str, v: T) -> T

Since. 1.0.0-beta

Parameters

NameType
rolestr
vT

Returns

T

Effects

none declared (pure unless the body says otherwise)

Defined in: std/saga/saga.oxl:1239

See also