mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-07-06 09:21:38 +00:00
update ttl
This commit is contained in:
12
src/examples/closures.ts
Normal file
12
src/examples/closures.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { Fluence } from '@fluencelabs/fluence';
|
||||
// import { smth, registerLocalSrv } from '../compiled/examples/closures';
|
||||
import { relays } from '../config'
|
||||
|
||||
export async function closuresCall() {
|
||||
const relayPeerId = Fluence.getPeer().getStatus().relayPeerId;
|
||||
const selfPeerId = Fluence.getPeer().getStatus().peerId;
|
||||
|
||||
// registerLocalSrv({inside: () => console.log("call inside")})
|
||||
|
||||
// return smth(relays[2].peerId, relays[3].peerId)
|
||||
}
|
Reference in New Issue
Block a user