mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-05-12 21:18:03 +08:00
12 lines
160 B
Go
12 lines
160 B
Go
|
//go:build !go1.21
|
||
|
|
||
|
package contextutils
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
)
|
||
|
|
||
|
func AfterFunc(ctx context.Context, f func()) (stop func() bool) {
|
||
|
return afterFunc(ctx, f)
|
||
|
}
|