ListenerSpan¶
Namespace:
SideXP.Broadcaster
The monitor's record of one callback invoked by a DispatchSpan: who owned it, what role it played, when it ran, and how it finished. "Listener" is the generic word for any invoked callback (a signal listener, a cue performer, or a handler).
Remarks
The same instance is handed to ListenerBegan and later ListenerEnded. A durative cue performer stays open until its work finishes, so its sub-span can end well after the dispatch's synchronous start. Only produced in the editor and development builds; release builds never produce one.
Properties¶
Span¶
The dispatch this callback was invoked by.
Owner¶
The owner that registered the callback.
Role¶
What the callback was (listener, performer, or handler).
BeginFrame¶
The frame the callback started on.
BeginTime¶
The realtime (seconds since startup) the callback started at.
EndFrame¶
The frame the callback finished on. Meaningful once IsComplete is true.
EndTime¶
The realtime (seconds since startup) the callback finished at. Meaningful once IsComplete is true.
Outcome¶
How the callback finished. Meaningful once IsComplete is true.
Exception¶
The exception the callback threw, when Outcome is Faulted; otherwise null.
IsComplete¶
Whether the callback has finished (its end fields and Outcome are set).