Module buffalo

Buffalo main API.

Copyright © 2012-2019 Arjan Scherpenisse

Authors: Arjan Scherpenisse (arjan@scherpenisse.net).

Description

Buffalo main API

Data Types

key()

key() = term()

mfargs()

mfargs() = {atom(), atom(), list()}

options()

options() = #{timeout => pos_integer(), deadline => pos_integer(), is_drop_running => boolean()}

Function Index

cancel/1Cancel the MFA running.
cancel/3(Deprecated.)
queue/2Call the MFA after specified in Options time.
queue/3Call the MFA after specified in Options time using specified Key.
queue/4(Deprecated.)
queue/5(Deprecated.)
start/0Start application buffalo.
status/1Check if the task with the specified key is running or queued.

Function Details

cancel/1

cancel(Key) -> Result

Cancel the MFA running.

cancel/3

cancel(Module, Function, Arguments) -> Result

This function is deprecated: Deprecated API

queue/2

queue(MFA, Opts) -> Result

Call the MFA after specified in Options time.

queue/3

queue(Key, MFA, Opts) -> Result

Call the MFA after specified in Options time using specified Key.

queue/4

queue(Module, Function, Arguments, Timeout) -> Result

This function is deprecated: Deprecated API

queue/5

queue(Key, Module, Function, Arguments, Timeout) -> Result

This function is deprecated: Deprecated API

start/0

start() -> Result

Start application buffalo.

status/1

status(Key) -> Result

Check if the task with the specified key is running or queued.


Generated by EDoc