internal

package
v0.0.0-...-2bcf714 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package internal contains helper methods that shouldn't be part of the public API, but have to be exposed as they are required across runtimevar/ package boundaries.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pinger

func Pinger(ctx context.Context, f func(context.Context) (*driver.Variable, error), waitTime time.Duration) (driver.Variable, error)

Pinger runs a function that returns a Variable and an error after every waitTime. Pinger blocks until the function returns a non-nil variable or non-nil error, or the context is canceled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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