Also allow Promise<void>.