Added a public configuration Action to be called with the internal factory for configuration purposes. If the function is set, it will get called while resolving the scheduler.