aqua-playground/src/examples/nestedFuncsCall.ts

13 lines
308 B
TypeScript
Raw Normal View History

import { FluencePeer } from '@fluencelabs/fluence';
import { d, registerOpH } from '../compiled/examples/nestedFuncs';
2021-06-04 14:10:34 +03:00
export async function nestedFuncsCall(): Promise<string> {
registerOpH({
identity: (args0) => {
return args0;
},
});
2021-06-04 14:10:34 +03:00
return await d('some-str');
2021-06-04 14:10:34 +03:00
}