The OpenD Programming Language

Signal.slot_t

A slot is implemented as a delegate. The slot_t is the type of the delegate. The delegate must be to an instance of a class or an interface to a class instance. Delegates to struct instances or nested functions must not be used as slots. This applies even if the nested function does not access it's parent function variables.

import std.signals;
mixintemplate Signal(T1...)
alias slot_t = void delegate
(
T1
)

Meta