fun add(action: Action, delayInMs: Long, send: (action: Action) -> Unit): Unit
Adds an action to send to a queue by recipient.
This method is thread safe.
action - the action to send
action
delayInMs - the optional delay
delayInMs
send - the send function
send