Documentation
¶
Overview ¶
Copyright 2023 The Chromium Authors Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
Monitor uses to run and schedule Some Tasks (Observable) that we want to keep observing it after some period.
type Observable ¶
type Observable interface { // Observe the behavior, which Monitor run it immediately and schedule the // behavior in later. After reaching the interval, Monitor will run and schedule it again Observe() }
Observable provides the ability that Monitor want to observe.
Click to show internal directories.
Click to hide internal directories.