Open topic with navigation

TIBCO Rendezvous® 8.7.0

# IDispatchable.Poll

Method

## Visual Basic

    Function Poll () As Boolean

## C#

    bool Poll ();

## Purpose

Dispatch an event, if possible.

## Remarks

If an event is ready to dispatch, then this call dispatches it, and then returns. If no events are waiting, then this call returns immediately.

When the call dispatches an event, it returns `true`. When the call does not dispatch an event, it returns `false`.

This call is equivalent to `timedDispatch(TimeoutValue.NoWait).`

Both Queue and QueueGroup implement this method.

## See Also

IDispatchable

Queue.Poll

QueueGroup.Poll

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2023. Cloud Software Group, Inc. All Rights Reserved.