Yes, potentially. And their temporal distribution could be any imaginable. The idea is that we're dealing with things like button presses, which could happen as frequently or infrequently as a physical device might need, and for which an application would have to be prepared for the duration of the device being in operation. I imagine most "production" applications probably wouldn't need to "stop listening" to events (though they could...). Mostly, this is for interactive REPL development; If you're tinkering around with things and decide you want to shut off or change the edge direction of a given pin, you don't want the old callbacks to keep firing.
Chris On Tue, Jun 2, 2015 at 8:21 AM, Erik Price <e...@zensight.co> wrote: > Oh, so the events are for all intents and purposes infinite? > > On Tue, Jun 2, 2015 at 11:10 AM, Christopher Small <metasoar...@gmail.com> > wrote: > >> @Erik: I should clarify in this situation, the _user_ of the API would >> decide whether they want to stop listening to events. So there's not so >> much that _they_ would have to specify in terms of shutdown routines. I'm >> more concerned about how API implementations get notified that they don't >> need to deal with new events. >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clojure@googlegroups.com >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to clojure+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to a topic in the > Google Groups "Clojure" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/clojure/nuy2CAA89sI/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.