id() = term()
| call_task/2 | Same as call_task/3 with infinity given as timeout. |
| call_task/3 | Send a message to a daphnia task identified by Id and wait for the response. |
| notify_task/2 | Send a message to a daphnia task identified by Id. |
| start_task/3 | Create a new task identified by Id, implemented in the Mod task module, initialized with Args as task argument. |
call_task(TaskId::id(), Data::term()) -> {ok, term()} | {error, not_callable} | {error, not_found} | {error, Reason::any()}
Same as call_task/3 with infinity given as timeout.
See also: call_task/3.
call_task(TaskId::id(), Data::term(), Timeout::timeout()) -> {ok, term()} | {error, not_callable} | {error, not_found} | {error, Reason::any()}
Send a message to a daphnia task identified by Id and wait for the response.
notify_task(TaskId::id(), Info::term()) -> ok | {error, not_found} | {error, Reason::any()}
Send a message to a daphnia task identified by Id.
start_task(Id::id(), Mod::module(), Args::term()) -> ok | {error, already_started} | {error, {invalid_task_module, atom()}} | {error, any()}
Create a new task identified by Id, implemented in the Mod task module, initialized with Args as task argument.
Generated by EDoc