Skip to content

five.promise #432

@Cormanz

Description

@Cormanz

I'm a major consumer of APIs that are asynchronous (like discord.js) and wanted to make a Five discord bot. You should implement five.promise like so:

five.promise = () = new Promise(resolve => {
  setTimeout(() => resolve(5), 0);
});

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