Generalized method signature of performCallback taking a Supplier<Object>.