View Source wfnet_runner (wfnet v0.1.0)

Run the function in a task.

Summary

Functions

process the payload of a task.

Functions

-spec run_task(integer(), term()) -> ok.

process the payload of a task.

If the payload in Data is a function, it will be run in the background, otherwise, a log message will be printed.