Procedure
init_schedule/1
Creates a care schedule with the specified events.
Parameters
- events: The actions a sloth performs at scheduled times.
Declaration
init_schedule :: proc(events: map[int]Event) -> Schedule
Procedure
init_schedule/1Creates a care schedule with the specified events.
init_schedule :: proc(events: map[int]Event) -> Schedule