Skip to documentation
SLOP

tiny.preserves.observeObserver

Reference tiny.preserves observeObserver

Defined in tiny.preserves.

Returns the second field of an <Observe pattern observer> record with exactly two fields, and null for any other value.

No direct callersNo direct callstiny.preservesobserveObserver
Static calls · unresolved targets: 0 · external targets: 1.

Source

Source: lib/preserves/src/any.zig:319

zig
/// Returns the second field of an `<Observe pattern observer>` record with exactly two fields, and/// `null` for any other value. Code that handles a subscription calls it for the observer of an/// `<Observe pattern observer>` record. The returned value shares its storage with `v`.pub fn observeObserver(v: AnyValue) ?AnyValue {    return any_conversions.observeObserver(v);}

Source: lib/preserves/src/root.zig:227

zig
pub const observeObserver = any.observeObserver;

Audit

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433