TaskPool.start

Convenience method that does preparing initial arguments of reusable task and starting it via theScheduler in one go.

class TaskPool(TaskT : Task)
bool
start
(
ParametersOf!(TaskT.copyArguments) args
)

Parameters

args ParametersOf!(TaskT.copyArguments)

same set of args as defined by copyArguments method of user-supplied task class, will be forwarded to it.

Return Value

Type: bool

'false' if new task can't be started because pool limit is reached for now, 'true' otherwise

Meta