finchan.dispatcher

Event Dispatcher

get events from event source and dispatch evnets to the subscriber.

Dispatcher

BackTrackDispatcher

class finchan.dispatcher.BackTrackDispatcher(env)[source]

Dispatcher that dispatch backtrack events. the event sources generate events and put them into event queue, the main thread get events from event queue and dispatch them.

Parameters:env – global envirument
now

datetime of current logic time

run()[source]

dispatch the event loop to run.

LiveDispatcher