Map constructor takes Scheduler&, and consumers are expected to define an implementation. Therefore the interface must be public.
Map constructor takes Scheduler&, and consumers are expected to define an implementation. Therefore the interface must be public.