rxpubsub

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMessageProducerFromTopic

func GetMessageProducerFromTopic(ctx context.Context, hostId peer.ID, topic *pubsub.Topic) (rxgo.Observable, error)

func LoopSubscribeToTopicAndPublishToChannel

func LoopSubscribeToTopicAndPublishToChannel(ctx context.Context, hostId peer.ID, sub *pubsub.Subscription, outputCh chan rxgo.Item)

func MapFuncPubSubMsgToObj

func MapFuncPubSubMsgToObj[T any](_ context.Context, i interface{}) (interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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