* The message calls back the queueing operation and * triggers the event related to the completion of the operation.
(id: string, params: IResultParams<T>)
| 53 | * triggers the event related to the completion of the operation. |
| 54 | */ |
| 55 | public pop<T>(id: string, params: IResultParams<T>) { |
| 56 | const messageData = this.put(id); |
| 57 | messageData?.resolve?.(params); |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * Clear message memory. |
no test coverage detected