generateExpiryReminders

Generates and delays Twitch authorisation token expiry reminders.

version(TwitchSupport && WithTwitchPlugin)
package
void
generateExpiryReminders
(,
const SysTime expiresWhen
,
const string what
,
void delegate
()
onExpiryDg
)

Parameters

plugin TwitchPlugin

The current TwitchPlugin.

expiresWhen SysTime

A SysTime of when the expiry occurs.

what string

The string of what kind of token is expiring.

onExpiryDg void delegate
()

Delegate to call when the token expires.