multi

package
v0.0.0-...-6b33018 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Firehose

func Firehose(
	c context.T,
	cancel context.F,
	wait *sync.WaitGroup,
	nostrRelays, blueskyEndpoints, farcasterHubs []string,
	fn func(bundle *types.BundleItem) (err error),
)

Firehose runs concurrent connections capturing new events appearing on each of the social network protocols, and calls a closure that provides access to the bundle formatted from a protocol event.

Types

This section is empty.

Jump to

Keyboard shortcuts

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