const call = async <T>(
method: string,
args: object = {},
): Promise<T> => {
if (isDesktop()) {
return viaBridge<T>(method, args);
}
await bridgeReady;
if (isDesktop()) {
return viaBridge<T>(method, args);
}
return viaHttp<T>(method, args);
};
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)