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:
use std.saga
fn main() io {
print("{saga.pon("gpu", 7)}")
}Output
7
pub(api) fn pon<T>(role: str, v: T) -> TSince. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
role | str |
v | T |
Returns
T
Effects
none declared (pure unless the body says otherwise)
Defined in: std/saga/saga.oxl:1239