You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
591 B
16 lines
591 B
// 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)
|
|
}
|