Readonly idUnique ID for Runnable function.
Private Readonly taskStored task to be executed. Although async functions are preferred for performance, both sync and async functions are supported. Guaranteed to be set to a task. Constructor throws when invoked without a valid task signature.
Private assertAssert all constructor arguments are present and match expected types.
Run task provided by Runnable.
Task logic to store and externally call tasks. External callers can invoke stored tasks with custom arguments.