Skip to content

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

@dead-claudia

Description

@dead-claudia

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions