dawdle v0.2.0 Dawdle View Source

Documentation for Dawdle.

Link to this section Summary

Functions

Send a message to be fired back after at least the specified delay in ms

Link to this section Types

Link to this type callback() View Source
callback() :: (message() -> any())
Link to this type message() View Source
message() :: any()

Link to this section Functions

Link to this function send(callback, message, delay) View Source
send(callback(), message(), duration()) :: :ok | {:error, term()}

Send a message to be fired back after at least the specified delay in ms