Split up useSchedule into a useEventSource composable and a schedules store for keeping track of the schedule updates.