Skip to content

Add orders.msg_sender() #502

Closed
Closed
@MartinKavik

Description

@MartinKavik

It'll reduce boilerplate required for sending messages from JS callbacks.

See master...MartinKavik:demo/websocket_binary
We should mirror core changes from that commit and add comments + perhaps also add notes to orders.clone_app() and orders.msg_mapper() that users should use rather orders.msg_sender().

Implementation note: Use app.update or app.mailbox() + .send(..)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions