mirror of
https://github.com/waku-org/js-waku.git
synced 2025-02-26 11:05:39 +00:00
Update comments
This commit is contained in:
parent
d3082c8dd8
commit
7a2dcd9881
@ -32,9 +32,11 @@ type FilterCallback = (msg: WakuMessage) => void | Promise<void>;
|
|||||||
type UnsubscribeFunction = () => Promise<void>;
|
type UnsubscribeFunction = () => Promise<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implements part of the [Waku v2 Filter protocol](https://rfc.vac.dev/spec/12/).
|
* Implements client side of the [Waku v2 Filter protocol](https://rfc.vac.dev/spec/12/).
|
||||||
*
|
*
|
||||||
* WakuFilter can be used as a light filter node, but cannot currently be used as a full node that pushes messages to clients.
|
* Note this currently only works in NodeJS when the Waku node is listening on a port, see:
|
||||||
|
* - https://github.com/status-im/go-waku/issues/245
|
||||||
|
* - https://github.com/status-im/nwaku/issues/948
|
||||||
*/
|
*/
|
||||||
export class WakuFilter {
|
export class WakuFilter {
|
||||||
private subscriptions: Map<string, FilterCallback>;
|
private subscriptions: Map<string, FilterCallback>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user