run
Description:
Schedules the given function to execute asynchronously.
The Executor of TaskEnv.get_common_task_env will execute the function. By default, it is a WorkerPool which uses work-stealing algorithm.
This method is the same as task but this accepts a VoidTaskFunc which has void return type.
Parameters:
func |
a task function to execute |
Returns:
a future of the execution |
See also:
Namespace: Gpseq
Package: gpseq-1.0