mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-10-14 04:54:03 -04:00
unified task package
This commit is contained in:
9
common/task/common.go
Normal file
9
common/task/common.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package task
|
||||
|
||||
import "v2ray.com/core/common"
|
||||
|
||||
func Close(v interface{}) Task {
|
||||
return func() error {
|
||||
return common.Close(v)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user