A low-level promise library.