coordinators

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Overview

Package coordinators contains retrievers that coordinate multiple child retrievers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Race

func Race(ctx context.Context, retrievalCalls []types.CandidateRetrievalCall) (*types.RetrievalStats, error)

Race retrieves by racing one or more canditate retrievals together, taking the first successful result or returning a combined error if all fail

func Sequence

func Sequence(ctx context.Context, retrievalCalls []types.CandidateRetrievalCall) (*types.RetrievalStats, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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