-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error callback / complete callback are not actually used in inspect #174
Comments
One consideration, perhaps for error we should be using i.e. The steps would be equivalent to: error: (error) => {
try {
errorCallback?.(error);
subscriber.error(error);
} catch (inspectError: unknown) {
subscriber.error(
new SuppressedError(
inspectError,
error,
`inspector error callback threw an error`,
),
);
}
}, |
I think it might be worth a separate issue to discuss the |
Done (#177) thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The inspect method defines
error callback
andcomplete callback
, however it never actually calls them insideerror
/complete
observer methods.The steps should probably be similar to the steps for the next callback (i.e. passing thrown errors to
subscriber.subscribe
).The text was updated successfully, but these errors were encountered: