Skip to content
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

RxJava 3, reactive-streams #10

Open
idontusenumbers opened this issue Aug 27, 2021 · 4 comments
Open

RxJava 3, reactive-streams #10

idontusenumbers opened this issue Aug 27, 2021 · 4 comments

Comments

@idontusenumbers
Copy link
Contributor

Any chance we could get a set of capture points for RxJava3?

I've tried a few myself but I can't figure it out.

@idontusenumbers
Copy link
Contributor Author

I just noticed the RxJava plugin hooks; this might work with the jetbrains async schedule/execute annotations; I'll give this a shot.

@gorrus
Copy link
Collaborator

gorrus commented Sep 10, 2021

To me it also seems that plugin hooks + schedule/execute annotations approach should work better than capture points setup, have you tried that?

@idontusenumbers
Copy link
Contributor Author

I tried the plugin hooks but they didn't seem to work.

@gorrus
Copy link
Collaborator

gorrus commented Sep 10, 2021

Yep, unfortunately the hook at the insertion point is executed before the actual singleSupplier execution, so when we're inside the singleSupplier execution we can not get the async stack. You'll have to wait for https://youtrack.jetbrains.com/issue/IDEA-186404 and then use external annotations to setup async stack traces in any library. Until then you can use manually set up capture points. Sorry for inconvenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants