mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-06-19 11:41:34 +00:00
10 lines
371 B
TypeScript
10 lines
371 B
TypeScript
![]() |
import {FluenceClient, registerServiceFunction} from "@fluencelabs/fluence";
|
||
|
import {checkStreams} from "./compiled/stream";
|
||
|
|
||
|
export async function streamCall(client: FluenceClient) {
|
||
|
registerServiceFunction(client, "stringer-id", "returnString", (args: any[], _) => {
|
||
|
return args[0] + " updated"
|
||
|
})
|
||
|
|
||
|
return checkStreams(client, ["third", "fourth"])
|
||
|
}
|