package
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Mar 26, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func RunFirst[P any, R any](
order []string,
get func(name string) (P, bool),
call func(provider P) (*R, error),
finalize func(name string, resp *R),
unavailable error,
) (*R, error)
RunFirst invokes providers in order until one returns a non-nil response.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.