Executor.submitTask

Submits the provided function as a task and returns a handle to it in the form of a future

class Executor
submitTask
(
alias Symbol
)
()
if (
(
isFunction!(Symbol) ||
isDelegate!(Symbol)
)
&&
isSupportedFunction!(Symbol)
)

Return Value

Type: Future

the task's Future

Meta