This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Description
Feature request
I have no clue what's the current state of this lib, maybe this would come later on..
But the exported types should be improved and enriched.
For example:
Currently the interface for the RealtimeChannel's on call could be easily improved.
|
on(type: string, filter?: { [key: string]: string }, callback?: Function) { |
Instead of
on(type: string, filter?: { [key: string]: string }, callback?: Function) {}
we should go with this:
on(type: string, callback: Function, filter?: { [key: string]: string })
- why register a listener without a callback? so make it mandatory..
- since point 1, move the optional filters at the end
- it would be great not to use just
Function.. What about making it typed instead? =)