public send ( array $payload, integer $earliestGet, float $priority ) : void | ||
$payload | array | the data to store in the message. Data is handled same way as \MongoDB\Collection::insertOne() |
$earliestGet | integer | earliest unix timestamp the message can be retreived. |
$priority | float | priority for order out of get(). 0 is higher priority than 1 |
return | void |