Skip to content

how emit/receive multiple arguments? #10

Description

@gblok
const hub = new EventEmitter
const  $ = fromEvent('2STREAM', hub)

// I want to get all the arguments but only the first one comes
const fn = ([foo, bar, baz]) =>{}
runEffects(map(fn, $), scheduler)

hub.emit('2STREAM', 'foo', 'bar', 'baz')


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions