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

Support awaiting signals on SignalCallable #30

Open
fuzzybinary opened this issue Feb 2, 2025 · 0 comments
Open

Support awaiting signals on SignalCallable #30

fuzzybinary opened this issue Feb 2, 2025 · 0 comments

Comments

@fuzzybinary
Copy link
Owner

futureSignal creates a one-time subscription using SignalAwaiter, but requires an object and a signal name. It would be good if we could support this directly on SignalCallable instead, and have it return a Dart record of the parameters sent to the signal.

As a one-time subscription, it should disconnect as soon as the signal is called, and properly 'cancel' the future if a disconnect is requested before the signal is received.

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

1 participant