YOrch 1.0.0
Loading...
Searching...
No Matches
yorch::fanout_shared_readonly_policy Struct Reference

Explicit readonly fanout policy. More...

#include <policies.hpp>

Detailed Description

Explicit readonly fanout policy.

A node marked with this policy always exposes its output as a shared, non-exclusive upstream source. Direct children may use:

  • borrow_prev
  • copy_prev

Direct children may not use:

  • borrow_prev_mut
  • consume_prev

This is useful when a parent result is intended to be broadcast to multiple consumers without allowing any child to mutate or consume the original source.

Definition at line 32 of file policies.hpp.


The documentation for this struct was generated from the following file: