Version: 2019.2
public bool BlockUntilRecvMsg (Guid messageId, int timeout);

Parameters

messageIdThe type ID of the message that is sent to the Editor.
timeoutThe time-out specified in milliseconds.

Returns

bool Returns true when the message is received and false if the call timed out.

Description

Blocks the calling thread until either a message with the specified messageId is received or the specified time-out elapses.