assert waited_for type checking