Skip to content

Promise and EventListener ( progress/notify support in gorillascript promise ) #136

Description

@unc0

Take this code as an example. Sometimes the value we need to return from a promise is in an EventListener.
I don't know how to wrap this IndexedDB request into promise in gorillascript.
The vow promise library also use this progress/notify pattern to fill a promise from an EventListener. Maybe we should have these macro/functions in jsprelude?

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