Type Definition dome_cloomnik::ChannelUpdate[][src]

type ChannelUpdate<T = ()> = fn(channel: &CallbackChannel<T>, vm: &VM);

The update callback of channel. It is called between frames. See DOME's documentation for more details.

It takes a reference to, and not a copy of, CallbackChannel, because we don't want it to drop the channel at the end, which will stop it.