consume
consume: (GrandExchangeSearched) -> ()You have set the results: the client's own search does not run, and the search shows the ids you set. Later subscribers still get the event, and can check isConsumed() to leave it alone.
| Method | Returns | Description |
|---|---|---|
consume() | () | You have set the results: the client's own search does not run, and the search shows the ids you set. Later subscribers still get the event… |
isConsumed() | boolean | Whether a subscriber consumed it. |
| Field | Type | Description |
|---|---|---|
__eventClass | string | "GrandExchangeSearched": the class's name, which host APIs that take the class itself read. |
consumeconsume: (GrandExchangeSearched) -> ()You have set the results: the client's own search does not run, and the search shows the ids you set. Later subscribers still get the event, and can check isConsumed() to leave it alone.
isConsumedisConsumed: (GrandExchangeSearched) -> booleanWhether a subscriber consumed it.