proposal-emitter icon indicating copy to clipboard operation
proposal-emitter copied to clipboard

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

Open dead-claudia opened this issue 5 years ago • 0 comments

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.

dead-claudia avatar Sep 22 '19 08:09 dead-claudia