Module proc

Function Index

async_collect/2 Collects the response of an asyncronous request.
async_exec/2 Asyncronus request.
exec/2 Syncronous request.
exec/3
new/0 Creates a new process.
stop/1 Stops the process.

Function Details

async_collect/2

async_collect(RRef::term(), Timeout::integer()) -> Response::term()

Collects the response of an asyncronous request. If the request has launched an exception async_collect will also crash

async_exec/2

async_exec(Proc::pid(), MFA::tuple()) -> RRef::term()

Asyncronus request. Returns a reference that is used to collect the response. with function async_collect(Ref)

exec/2

exec(Proc::pid(), MFA::tuple()) -> Result::term()

Syncronous request.

exec/3

exec(Proc::pid(), MFA::tuple(), Timeout::integer()) -> Result::term()

new/0

new() -> Proc::pid()

Creates a new process.

stop/1

stop(Proc::pid()) -> ok | {error, timeout}

Stops the process


Generated by EDoc