Retries a passed delegate until it no longer throws or until the hardcoded number of retries (TwitchPlugin.delegateRetries) is reached, or forever if endlessly is passed.
The current TwitchPlugin.
Delegate to call.
Whether or not the delegate should be called asynchronously, scheduling attempts using delay.
Whether or not to endlessly retry.
How long to wait between retries.
Whatever the passed delegate returns.
Retries a passed delegate until it no longer throws or until the hardcoded number of retries (TwitchPlugin.delegateRetries) is reached, or forever if endlessly is passed.