Source/NFX.Erlang/Connect/ErlMbox.cs
/// <summary>
/// Wait for a message to arrive for this mailbox. On timeout return null
/// </summary>
/// <param name="timeout">Timeout time in milliseconds</param>
/// <returns></returns>
Wait for a message to arrive for this mailbox. On timeout return null
Wait for a message to arrive for this mailbox . On timeout return null
public IErlObject Receive(int timeout = -1)
    {
      var m = receiveMsg(timeout);
      return m == null ? null : m.Msg;
    }
public IErlObject Receive ( int timeout = - 1 ) { var m = receiveMsg ( timeout ) ; return m == null ? null : m . Msg ; }
Wait for a message to arrive for this mailbox.
Wait for a message to arrive for this mailbox .
None
timeout
int
Timeout time in milliseconds
Timeout time in milliseconds