Skip to content

No option for manually calling reply function in pm.bind #5

Description

@jonhoo

It is currently not possible to manually call the method causing a reply message to be sent in a function bound in pm.bind.

This could be very useful when the function bound by pm.bind performs an asynchronous operation, and such cannot reply straightaway.

Could be implemented as such:
pm.bind_manual(type, fn, [origin], [hash])
And that fn then gets called with (data, callback), where fn calls callback when it has completed doing its job

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions