fszmq


Poll

Namespace: fszmq

For use with the Polling module...

Associates a callback with a Socket instance and one or more events, such that the callback is invoked when the event(s) occurs on the Socket instance

Note: all sockets passed to Polling.poll MUST share the same context and belong to the thread calling Polling.poll

Union Cases

Union CaseDescription
Poll(events,socket,callback)
Signature: int16 * Socket * Socket -> unit

Creates a new poll item, associating the given events, socket, and callback

Static members

Static memberDescription
Create(events, socket, callback)
Signature: (events:int16 * socket:Socket * callback:Action<Socket>) -> Poll

Creates a poll item in a way friendly to languages other then F#

Fork me on GitHub