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

What is the purpose of the first two parameters for the Emitter constructor? #24

Open
dead-claudia opened this issue Sep 22, 2019 · 0 comments

Comments

@dead-claudia
Copy link

The Emitter constructor, as far as I understand based on my reading of this, has three parameters:

  • d - The received datum
  • i - The implicit metadata
  • n - The current context

The third is obvious - it provides the methods that actually make it useful in practice, and it functions similarly to the Observable constructor, just with different names for each of the methods. But the first two to me seem like they aren't even used.

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