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.
Click to show internal directories.
Click to hide internal directories.