Open
Description
- return promise if callback function isn't specified.
const {data} = await client.send(path, query, options);
...
- auto cancel option with same parameters.
client.send(path, query, {autoCancel: true}, (err, data) => {
// if same path request is already called until this async callback.
assert(err.message == 'AutoCancelled');
});
Metadata
Assignees
Labels
No labels