Documentation
¶
Overview ¶
Package watchdog bounds silent runtime invocations. It decorates any runtime.Runtime, so the same policy applies to local and remote providers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Runtime cancels an invocation that emits no events for idleTimeout.
func New ¶
New wraps under with a per-invocation silence deadline. A non-positive timeout disables the deadline while retaining the runtime wrapper.
Click to show internal directories.
Click to hide internal directories.