I think the context provider also needs to be sync. That said the type itself might need some redesign now that we have support for scoped services which was primarily what we designed this for.