MCPcopy Create free account
hub / github.com/ReactiveX/RxGo / WithDuration

Function WithDuration

duration.go:27–31  ·  view source on GitHub ↗

WithDuration is a duration option

(d time.Duration)

Source from the content-addressed store, hash-verified

25
26// WithDuration is a duration option
27func WithDuration(d time.Duration) Duration {
28 return &duration{
29 d: d,
30 }
31}
32
33var tick = struct{}{}
34

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…