FiberRegistryType

PackageAxial
Tracks every live forked fiber so the whole runtime can be dumped as a parent/child tree at any moment.

Specification

Kind
Type
Members
6
Examples
0
``.ctor``Signature
FiberRegistry()
DumpSignature
this.Dump
DumpAtSignature
this.DumpAt
SnapshotSignature
this.Snapshot
ObserverSignature
this.Observer

Summary

NameSignatureSynopsis
``.ctor``FiberRegistry()No description available.
Dumpthis.DumpRenders the current live fibers as a human-readable parent/child tree, timestamped with the current UTC time.
DumpAtthis.DumpAtRenders a snapshot of live fibers as a human-readable parent/child tree, timestamped at now.
Snapshotthis.SnapshotTakes a structured dump of every live fiber, ordered by fiber id.
Observerthis.ObserverThe lifecycle observer that feeds the registry.
LiveFiberCountthis.LiveFiberCountThe number of live fibers currently tracked.

``.ctor``

FiberRegistry()
Member

Returns

FiberRegistry

Dump

this.Dump
Member
Renders the current live fibers as a human-readable parent/child tree, timestamped with the current UTC time. This is a debugger/console convenience over a diagnostic render, not part of workflow execution or any deterministic behavior a test would assert on; use DumpAt when the timestamp itself matters to a caller (for example, a test asserting on the rendered header).

Returns

string

DumpAt

this.DumpAt
Member
Renders a snapshot of live fibers as a human-readable parent/child tree, timestamped at now.

Parameters

NameTypeDescription
nowDateTimeOffset

Returns

string

Snapshot

this.Snapshot
Member
Takes a structured dump of every live fiber, ordered by fiber id.

Returns

FiberDump list

Observer

this.Observer
Member
The lifecycle observer that feeds the registry. Compose it if installing observers manually.

Returns

FiberObserver

LiveFiberCount

this.LiveFiberCount
Member
The number of live fibers currently tracked.

Returns

int