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

Alternative to once #27

Closed
zvictor opened this issue Jul 5, 2013 · 4 comments
Closed

Alternative to once #27

zvictor opened this issue Jul 5, 2013 · 4 comments

Comments

@zvictor
Copy link
Contributor

zvictor commented Jul 5, 2013

I am trying to test reactivity, so it is expected to emit values more than once. How to treat this? Are there any alternatives for the once method? Where is this once method defined?

@arunoda
Copy link
Owner

arunoda commented Jul 5, 2013

try on instead.

On Fri, Jul 5, 2013 at 11:07 PM, zVictor notifications@github.com wrote:

I am trying to test reactivity, so it is expected to emit values more than
once. How to treat this? Are there any alternatives for the once method?
Where is this once method defined?


Reply to this email directly or view it on GitHubhttps://github.com//issues/27
.

Arunoda Susiripala

@arunoda http://twitter.com/arunoda
http://gplus.to/arunodahttps://github.com/arunoda
http://www.linkedin.com/in/arunoda

@zvictor
Copy link
Contributor Author

zvictor commented Jul 5, 2013

Oh, for sure! I have forgotten the on method, but examples of it can be found here.

So, are these methods being inherited from the nodejs EventEmitter?

@arunoda
Copy link
Owner

arunoda commented Jul 5, 2013

Yes. Exactly.

On Fri, Jul 5, 2013 at 11:18 PM, zVictor notifications@github.com wrote:

Oh, for sure! I have forgotten the on method, but examples of it can be
found here http://arunoda.github.io/laika/syntax-suger.html.

So, are these methods being inherited from the nodejs EventEmitterhttp://nodejs.org/api/events.html#events_emitter_on_event_listener
?


Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-20531037
.

Arunoda Susiripala

@arunoda http://twitter.com/arunoda
http://gplus.to/arunodahttps://github.com/arunoda
http://www.linkedin.com/in/arunoda

@arunoda
Copy link
Owner

arunoda commented Jul 5, 2013

Hope I can close this.

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