mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-04-29 17:42:19 +00:00
13 lines
308 B
TypeScript
13 lines
308 B
TypeScript
import { FluencePeer } from '@fluencelabs/fluence';
|
|
import { d, registerOpH } from '../compiled/examples/nestedFuncs';
|
|
|
|
export async function nestedFuncsCall(): Promise<string> {
|
|
registerOpH({
|
|
identity: (args0) => {
|
|
return args0;
|
|
},
|
|
});
|
|
|
|
return await d('some-str');
|
|
}
|