You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instance takes ammo before schedule token take, that allows be ready, when take next schedule token, and operate close to schedule.
But in case of individual schedules, extra ammo will be taken.
Propose add IsFinished() bool schedule method, that allows check is schedule finished before taking ammo.
In such case, in case of shared schedule, some extra ammos can be consumed anyway at schedule finish, but that is minor problem - that will happen once after shooting finish.
The text was updated successfully, but these errors were encountered:
Maybe better will be add EventsLeft() (n int) where
0 - finished
n > 0 - exactly n
n < 0 - don't know, but not finished yet (unlimited, not implemented, etc.)
Such info will be useful to log in every second status.
Also FinishTime() time.Time may be useful for log too.
Instance takes ammo before schedule token take, that allows be ready, when take next schedule token, and operate close to schedule.
But in case of individual schedules, extra ammo will be taken.
Propose add
IsFinished() bool
schedule method, that allows check is schedule finished before taking ammo.In such case, in case of shared schedule, some extra ammos can be consumed anyway at schedule finish, but that is minor problem - that will happen once after shooting finish.
The text was updated successfully, but these errors were encountered: