public bool BlockUntilRecvMsg (Guid messageId, int timeout);

Parameters

messageId发送给 Editor 的消息的类型 ID。
timeout以毫秒为单位指定的超时时间。

Returns

bool 收到消息时返回 true,如果调用超时则返回 false。

Description

阻止调用线程,直至收到具有指定 messageId 的消息或指定的超时时间结束。