Source/NFX.Erlang/Connect/ErlMbox.cs
/// <summary>
/// Wait for a message to arrive for this mailbox
/// </summary>
/// <param name="timeout">time in milliseconds</param>
/// <returns>a stream representing the still-encoded body of the next
/// message waiting in this mailbox, or null on timeout</returns>
Wait for a message to arrive for this mailbox
Wait for a message to arrive for this mailbox
public ErlInputStream receiveBuf(int timeout)
    {
      var m = receiveMsg(timeout);
      return m == null ? null : m.Paybuf;
    }
public ErlInputStream receiveBuf ( int timeout ) { var m = receiveMsg ( timeout ) ; return m == null ? null : m . Paybuf ; }
Wait for a message to arrive for this mailbox
Wait for a message to arrive for this mailbox
a stream representing the still-encoded body of the next
message waiting in this mailbox, or null on timeout
a stream representing the still - encoded body of the next message waiting in this mailbox or null on timeout
timeout
int
time in milliseconds
time in milliseconds