Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flushable ¶ added in v1.4.102
type Flushable interface {
Flush()
}
Flushable represents an entity capable of being flushed.
type Option ¶ added in v1.4.101
type Option func(*config)
func WithDebounceTime ¶ added in v1.4.101
WithDebounceTime sets the debounce time i.e. how long to wait without further invocations before firing. Defaults to 1 second.
func WithMaxWaitTime ¶ added in v1.4.101
WithMaxWaitTime sets the max wait time i.e. maximum time spent deferring invocations due to new invocations. Defaults to no maximum i.e. never fire for infinite successive invocations within the debounce time.
Click to show internal directories.
Click to hide internal directories.