Version: 2021.2
public static bool CancelRequest (string eventType, string message);

参数

eventType The event to cancel.
message The error message sent to the pending request.

返回

bool Returns true if a pending request was found and cancelled false otherwise.

描述

Checks whether there is a pending request for a specific event and, if there is, cancels it. See EventService.Request for more details on Request.