easily create procedures within a pit-of-success
npm install
for example
const procedure: Procedure<{ exid: string }, { dbConnection: DatabaseConnection }, { flag: Flag } | null> = (input, context) => {...}
const input: ProcedureInput<typeof procedure> = { exid: '__exid__' };
const procedureWithExpect = withExpectOutkey(procedure);
const { flag } = await procedureWithExpect({ exid: 'usa' }, context).expect('flag', 'isPresent');