ErlMbox ReceiveMatch Method (IErlObject, Int32)NFX Class Library

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

Receive a message and match it against a given pattern

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

public Tuple<IErlObject, ErlVarBind> ReceiveMatch(
	IErlObject pattern,
	int timeoutMsec = -1
)

Return Value

Type: OnlineTuple IErlObject, ErlVarBind 
Return a tuple containing the received message and variable binding object. On timeout the first element of the tuple is null. On unsuccessful match the second element of the tuple is null
See Also