Module aequitas

Function Index

ask/2Like :ask/3 but with default options.
ask/3Request permission to perform work, identified under ActorId, within Category
async_ask/2Like :async_ask/3 but with default options.
async_ask/3Like :ask/3 but the reply is sent asynchronously.
reconfigure/2Tweak settings of work Category
start/1Like :async_ask/3 but with default options.
start/2Starts handler for Category
stop/1Stops a Category handler.

Function Details

ask/2

ask(Category, ActorId) -> Status | {error, Reason}

Like :ask/3 but with default options

See also: ask/3, async_ask/2, async_ask/3.

ask/3

ask(Category, ActorId, Opts) -> Status | {Status, Stats} | {error, Reason}

Request permission to perform work, identified under ActorId, within Category

Returns:

See also: ask/2, async_ask/2, async_ask/3.

async_ask/2

async_ask(Category, ActorId) -> {Tag, Monitor}

Like :async_ask/3 but with default options

See also: ask/2, ask/3, async_ask/3.

async_ask/3

async_ask(Category, ActorId, Opts) -> {Tag, Monitor}

Like :ask/3 but the reply is sent asynchronously

Returns a {Tag, Monitor} pair whose members can be used to pattern match against the reply, which will be sent as a message to the calling process in one of the following formats: In case of a successful reply, don't forget to clean Monitor up, which can be done like this: demonitor(Monitor, [flush])

See also: ask/2, ask/3, async_ask/2.

reconfigure/2

reconfigure(Category, SettingOpts) -> ok | {error, Reason}

Tweak settings of work Category

Returns:

See also: start/2, stop/1.

start/1

start(Category) -> ok | {error, Reason}

Like :async_ask/3 but with default options

See also: reconfigure/2, start/2, stop/1.

start/2

start(Category, Opts) -> ok | {error, Reason}

Starts handler for Category

Returns:

See also: reconfigure/2, start/1, stop/1.

stop/1

stop(Category) -> ok | {error, Reason}

Stops a Category handler

Returns:

See also: reconfigure/2, start/1.


Generated by EDoc