Discover Packages
github.com/xmplusdev/xray-core/v24
common
task
package
Version:
v24.11.30
Opens a new window with list of versions in this module.
Published: Nov 30, 2024
License: MPL-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
func Close(v interface{}) func() error
Close returns a func() that closes v.
OnSuccess executes g() after f() returns nil.
Run executes a list of tasks in parallel, returns the first error encountered or nil if all tasks pass.
Periodic is a task that runs periodically.
Close implements common.Closable.
Start implements common.Runnable.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.