MCPcopy
hub / github.com/rs/zerolog / Poller

Struct Poller

diode/internal/diodes/poller.go:15–19  ·  view source on GitHub ↗

Poller will poll a diode until a value is available.

Source from the content-addressed store, hash-verified

13
14// Poller will poll a diode until a value is available.
15type Poller struct {
16 Diode
17 interval time.Duration
18 ctx context.Context
19}
20
21// PollerConfigOption can be used to setup the poller.
22type PollerConfigOption func(*Poller)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected