Use callbacks in metascheduler