Skip to content
ConsoleMonster

API Reference

Class

ImmediateDispatcher

Namespace ConsoleMonster.Live
Assembly ConsoleMonster
Implements
Modifiers sealed

Applies events to one target immediately on the calling thread. Used when a widget is updated without a live session (building a report, tests). Not thread-safe, by design: without a session there is no render thread.

Inheritance

  • Object
  • ImmediateDispatcher

Constructors

public ImmediateDispatcher(ILiveTarget target) #

Creates a dispatcher for one target.

Parameters

target ConsoleMonster.Live.ILiveTarget requiredposition: 0
The target.

Methods

public Void Post(LiveEvent liveEvent) #
Returns: Void

Posts an event.

Parameters

liveEvent ConsoleMonster.Live.LiveEvent requiredposition: 0
The event.