utils

package
v0.16.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitGetPeer

func WaitGetPeer(app app2.Application, name string) peer.CwtchPeer

WaitGetPeer is a helper function for utility apps not written using the event bus Proper use of an App is to call CreatePeer and then process the NewPeer event however for small utility use, this function which polls the app until the peer is created may fill that usecase better

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL