Initialize GunRxJS with a GunDB instance
GunDB instance
Get the current user
The current user
Get the current user's public key
The current user's public key
Match data based on Gun's '.map()' and convert to Observable
Path to the collection
Optional
matchFn: (data: any) => booleanOptional function to filter results
Observable array of matched items
Observe a Gun node for changes
Path to observe (can be a string or a Gun chain)
Observable that emits whenever the node changes
Observe user data
Optional
path: stringPath to observe in user space
Observable that emits whenever the user data changes
Get data once and return as Observable
Optional
path: anyPath to get data from
Observable that emits the data once
Private
removeGet user data
Path to get data from
Observable that emits the data once
User once data and return an Observable (for authenticated users)
Optional
path: stringOptional path to get data from
Optional
callback: (ack: any) => voidOptional callback function
Observable that emits the data once
User set data and return an Observable (for authenticated users)
Observable that completes when the set is acknowledged
RxJS Integration for GunDB Provides reactive programming capabilities for GunDB data