You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The subscribe function returned by transaction has a type of (arg0: SubscriptionCallback) => () => void. However this function returns an unsubscribe function. It is also unclear if this function throws an error on failure.
Expected Behavior
The type should return an unsubscribe function. It should also indicate if it throws an error. The other once methods should also indicate if they throw errors
Steps To Reproduce
n/a
Environment
- OS:
- Node:
- npm:
What are you currently working on that this is blocking?
No response
The text was updated successfully, but these errors were encountered:
Current Behavior
The
subscribe
function returned by transaction has a type of(arg0: SubscriptionCallback) => () => void
. However this function returns an unsubscribe function. It is also unclear if this function throws an error on failure.Expected Behavior
The type should return an unsubscribe function. It should also indicate if it throws an error. The other once methods should also indicate if they throw errors
Steps To Reproduce
n/a
Environment
What are you currently working on that this is blocking?
No response
The text was updated successfully, but these errors were encountered: