mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-06-26 05:51:33 +00:00
update fluence, add fold-join test, use built-in from lib
This commit is contained in:
6
src/examples/foldJoinCall.ts
Normal file
6
src/examples/foldJoinCall.ts
Normal file
@ -0,0 +1,6 @@
|
||||
import {FluenceClient} from "@fluencelabs/fluence";
|
||||
import {getTwoResults} from "../compiled/examples/foldJoin";
|
||||
|
||||
export async function foldJoinCall(client: FluenceClient): Promise<number[]> {
|
||||
return await getTwoResults(client, client.relayPeerId!)
|
||||
}
|
Reference in New Issue
Block a user