Iterates through a plugin's array of DeferredActions.
Depending on what their fiber member
(which is in actually a CarryingFiber) can be
cast to, it prepares a payload, assigns it to the
CarryingFiber, and calls it.
If plugins need support for new types of requests, they must be defined and
hardcoded here. There's no way to let plugins process the requests themselves
without letting them peek into the Kameloso instance.
The array is always cleared after iteration, so requests that yield must
first re-queue themselves.
Iterates through a plugin's array of DeferredActions. Depending on what their fiber member (which is in actually a CarryingFiber) can be cast to, it prepares a payload, assigns it to the CarryingFiber, and calls it.
If plugins need support for new types of requests, they must be defined and hardcoded here. There's no way to let plugins process the requests themselves without letting them peek into the Kameloso instance.
The array is always cleared after iteration, so requests that yield must first re-queue themselves.