OxL Reference

fn sagaRoles

Cluster roles with runs sagas of this program (empty without a cluster declaration).

Example:

oxl✓ checked in CI
fn main() io {
  // no cluster declaration: no role runs sagas
  print("[{std.saga.sagaRoles()}]")
}
Output
[]
pub(api) fn sagaRoles() -> str  pure

Complexity. O(1).

Since. 1.0.0-beta

Returns

str

Effects

pure

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

See also