Skip to content

Rewrite async bits using "await" #14

Open

Description

@simu

I just realized that javascript (at least webextensions, cf. https://github.com/mdn/webextensions-examples/blob/3fb6017d4387d86f29bc702afc2d630d1a121262/session-state/background.js#L20) has a "await" keyword to wait for an async operation to complete.

This might make some of the storage code easier to understand.

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions