mirror of
https://gitee.com/johng/gf.git
synced 2024-12-02 12:17:53 +08:00
16 lines
591 B
Go
16 lines
591 B
Go
// Copyright GoFrame Author(https://goframe.org). All Rights Reserved.
|
|
//
|
|
// This Source Code Form is subject to the terms of the MIT License.
|
|
// If a copy of the MIT was not distributed with this file,
|
|
// You can obtain one at https://github.com/gogf/gf.
|
|
|
|
package gtimer
|
|
|
|
// Exit is used in timing job internally, which exits and marks it closed from timer.
|
|
// The timing job will be automatically removed from timer later. It uses "panic-recover"
|
|
// mechanism internally implementing this feature, which is designed for simplification
|
|
// and convenience.
|
|
func Exit() {
|
|
panic(panicExit)
|
|
}
|