gql_cataclysm
noah metz 2023-07-30 11:16:50 -06:00
parent da58b04774
commit 9f9e65cf54
1 changed files with 5 additions and 0 deletions

@ -147,8 +147,13 @@ func SoonestSignal(signals []QueuedSignal) (*QueuedSignal, <-chan time.Time) {
}
if soonest_signal != nil {
print("SOONEST: ")
print(soonest_signal.Time.String())
print(" : ")
println(soonest_signal.Signal.Type())
return soonest_signal, time.After(time.Until(soonest_signal.Time))
} else {
println("NONE_QUEUED")
return nil, nil
}
}