declare function listenIdlePingOnce(filterFn: (event: IdlePingContract) => boolean, fn: (event: IdlePingContract) => void): () => void;
Subscribes to filtered idle ping events with one-time execution.
| Parameter | Description |
|---|---|
filterFn |
Predicate to filter events |
fn |
Callback function to handle the matching event |