How to use the fluence.isValue function in fluence

To help you get started, we’ve selected a few fluence examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github fluencelabs / fluence / fluence-js / src / examples / fluence-sqldb / index.ts View on Github external
res.then((r: Result) => {
                if (fluence.isValue(r)) {
                    let strResult = Buffer.from(r.hex(), 'hex').toString();
                    console.log(`the result is:\n ${strResult}`);
                }
            });
            return res;
github fluencelabs / fluence / fluence-js / src / examples / fluence-sqldb / index.ts View on Github external
pr.then((r) => {
                    if (fluence.isValue(r)) {
                        let strRes = r.asString().replace('\\n', newLine);
                        resultField.value += sep + newLine + strRes + newLine + sep;
                    }
                });

fluence

the browser js-libp2p client for the Fluence network

Apache-2.0
Latest version published 4 years ago

Package Health Score

40 / 100
Full package analysis