handleSelfjoin

Registers a new TimerPlugin.Channel as we join a channel, so there's always a state struct available.

Creates the timer Fibers that there are definitions for in TimerPlugin.timersByChannel.

version(WithTimerPlugin)
private
void
handleSelfjoin
(,
const string channelName
,
const Flag!"force" force = No.force
)

Parameters

plugin TimerPlugin

The current TimerPlugin.

channelName string

The name of the channel we're supposedly joining.

force Flag!"force"

Whether or not to always set up the channel, regardless of its current existence.