O.interRuntimeSignal()

Constructs a object implementing the InterRuntimeSignal interface.

function O.interRuntimeSignal(name, signalFunction)

Create a InterRuntimeSignal with the given name, and function to call when signalled.

name should include the plugin’s name to avoid clashes with other plugins, for example, "example_plugin:invalidate_cache".