Skip to content

Use callbacks directly? #52

Closed
Closed

Description

@grovesNL

On the agenda for the next meeting, wait vs. poll vs. promise is listed.

Could we consider using callbacks directly? This approach seems like it would be possible to avoid the GC pressure associated with promises and not be concerned about blocking the main thread. It would also be easy to wrap into a promise if an application preferred the promise API instead.

Activity

  1. grovesNL commented on Mar 29, 2018

    @grovesNL
    ContributorAuthor
  2. Kangz commented on Sep 2, 2021

    @Kangz
    Contributor

    The has been resolved to have WebGPU use Promises for the time being. @jdashg made a PR for adding callbacks version of Promise entrypoints as well so we can have further discussion on that PR if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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