update ttl

This commit is contained in:
DieMyst
2021-10-22 16:32:45 +03:00
parent edc8b79cd5
commit e45d2f7283
5 changed files with 17 additions and 5 deletions

12
src/examples/closures.ts Normal file
View 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)
}