 | DequeWrapperMessageQueueTryDequeue Method |
Attempt to dequeue a message from the front of the prepend buffer.
If the prepend buffer is empty, dequeue a message from the normal
IMessageQueue wrapped but this wrapper.
Namespace:
Akka.Dispatch.MessageQueues
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntaxpublic bool TryDequeue(
out Envelope envelope
)
abstract TryDequeue :
envelope : Envelope byref -> bool
override TryDequeue :
envelope : Envelope byref -> bool
Parameters
- envelope
- Type: Akka.ActorEnvelope
The message to return, if any
Return Value
Type:
Booleantrue if a message was available,
false otherwise.
Implements
IMessageQueueTryDequeue(Envelope)
See Also