After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 681194 - Add async signal.connect_wait (..)
Add async signal.connect_wait (..)
Status: RESOLVED OBSOLETE
Product: vala
Classification: Core
Component: Async
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2012-08-04 13:56 UTC by Marc-Andre Lureau
Modified: 2018-05-22 14:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marc-Andre Lureau 2012-08-04 13:56:18 UTC
It would be quite helpful to have a way to connect and wait async on a single signal emission.

That would allow writing something like:

yield foo.signal.connect_wait (() => {..});

Instead of having to resort to juerbi current suggestion on IRC:

09:46 < juergbi> ....connect (() => { foo.callback (); });
09:46 < juergbi> yield;
09:46 < juergbi> ...disconnect(...);
Comment 1 GNOME Infrastructure Team 2018-05-22 14:27:40 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vala/issues/311.