Module e2_simple_task

Utility for running e2 tasks that are implemented in other functions.

Copyright © 2011-2016 Garrett Smith

Authors: Garrett Smith ([email protected]).

Description

Utility for running e2 tasks that are implemented in other functions.

This utility is similar to proc_lib.

Function Index

start_link/1Starts a linked simple task.

Function Details

start_link/1

start_link(TaskSpec) -> {ok, Pid} | {error, Reason}

Starts a linked simple task.

A simple task is an e2 task that is run by calling function.

If specified as a function, the function must be arity 0.


Generated by EDoc