func (js *JobScheduler) SetCurrent(ji *JobInvocation) {
	js.currentLock.Lock()
	js.current = ji
	js.currentLock.Unlock()
}
// SetCurrent sets the current invocation, it is useful for tests etc.
SetCurrent sets the current invocation, it is useful for tests etc.
// SetCurrent sets the current invocation it is useful for tests etc .
func (js *JobScheduler) SetCurrent(ji *JobInvocation) {
	js.currentLock.Lock()
	js.current = ji
	js.currentLock.Unlock()
}
func ( js * JobScheduler ) SetCurrent ( ji * JobInvocation ) { js . currentLock . Lock ( ) js . current = ji js . currentLock . Unlock ( ) }
SetCurrent sets the current invocation, it is useful for tests etc.
SetCurrent sets the current invocation it is useful for tests etc .