uni-reactor-2.2.1.0: Reactors for the uniform workbench

Reactor.InfoBus

Description

InfoBus implements the shutdown command. This destroys all the things registered via registerTool and not subsequently registered via deregisterTool. Tools are identified by ObjectId.

Synopsis

Documentation

registerDestroyAct :: IO () -> IO (IO ())Source

register the given action to be done at shutdown. The returned action cancels the registration (without performing the given action).

encapsulateWaitTermAct :: IO () -> IO ()Source

encapsulate an action such that shutdown waits for its termination