Copyright © 2012-2019 Arjan Scherpenisse
Behaviours: gen_server.
Authors: Arjan Scherpenisse (arjan@scherpenisse.net).
gen_server behaviour.
| cancel_key/1 | Cancel the MFA running using specified Key. |
| cancel_mfa/1 | Cancel the MFA running. |
| queue/2 | Call the MFA after specified in Options time. |
| queue/3 | Call the MFA after specified in Options time
using specified Key. |
| status/1 | Check if the task with the specified key is running or queued. |
Cancel the MFA running using specified Key.
Equivalent to cancel_key(key(MFA)).
Cancel the MFA running.
queue(MFA, Options) -> Result
MFA = buffalo:mfargs()Options = buffalo:options()Result = {ok, new | existing}
Equivalent to queue(key(MFA), MFA, Options).
Call the MFA after specified in Options time.
queue(Key, MFA, Options) -> Result
Key = buffalo:key()MFA = buffalo:mfargs()Options = buffalo:options()Result = {ok, new | existing}
Call the MFA after specified in Options time
using specified Key.
Check if the task with the specified key is running or queued.
Generated by EDoc