Re: PATCH: generic watchers with dataful events
[email protected] (Joshua N Pritikin) Fri, 03 Dec 2004 10:56:06 +0530
| Newsgroups | perl.loop |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2004-12-01 at 01:23 +0000, Zefram wrote: > +=item $source->active_watchers > + > +Returns a list of all the watchers that are currently actively watching > +this event source. This is the set of watchers that will generate target > +events when the C<event()> method is called on this source. This is interesting. Do you really need this API? Conceptually, I like the simplicity of being able to assume that the #-of-watchers doesn't matter (ignoring the funny corner cases you found with signals). Even though the Event API is inconsistent and quirky, I would like to strive for consistency where possible. -- A new cognitive theory of emotion, http://openheartlogic.org
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBr/jtqcqnlKSmC70RAqk8AJ9A6EfMCe47kULIvi4fYJ5PX5gLVgCePZC7 zZioXKK1JjnaXXjG8WDEHH4= =zC+i -----END PGP SIGNATURE-----