a couple of generic operators on promises