Async version of DSBridge
npm install dsbridge-asyncdsbridge, added callAsync() to promisify call().
bash
npm i dsbridge-async
`
Usage
`ts
import dsbridge from "dsbridge-async";
// instead of passing callback, callAsync will return a promise
const task = async () => {
const res = await dsbridge.callAsync("method-name", someArgs);
console.log(res);
};
``