For every API method a variant with the suffix Async exists, returning a Promise instead of expecting a callback function. This helps to write cleaner code à la
const content = await steem.api.getContentAsync(author, permlink);
For every API method a variant with the suffix Async exists, returning a Promise instead of expecting a callback function. This helps to write cleaner code à la
const content = await steem.api.getContentAsync(author, permlink);
Thanks you, and yeah totally true. Well was some fast examples, but yeah that's right, and i should apply it to myself too.
Thanks!