ErlLocalNode WaitAny Method ( ErlMbox , Int32)NFX Class Library

[This is preliminary documentation and is subject to change.]

Wait for arrival of messages in any one of the given mailboxes

Namespace: NFX.Erlang
Assembly: NFX.Erlang (in NFX.Erlang.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public int WaitAny(
	ErlMbox[] mboxes,
	int msecTimeout = -1
)

Parameters

mboxes
Type:  NFX.Erlang ErlMbox 
Mailboxes to wait for messages in
msecTimeout (Optional)
Type: OnlineSystem Int32
Timeout in milliseconds

Return Value

Type: OnlineInt32
Index of the first non-empty mailbox or -1 on timeout
See Also