Skip to content

Usage with async/await. #77

@Cristy94

Description

@Cristy94

I currently have this AJAX request, handled with async/await:
const response = await getJSON('getDomains.php');

Can this library be used when the returned promise is awaited?
Is it something like this?
const response = await trackPromise(getJSON(getDomains.php));

Metadata

Metadata

Assignees

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