This can be `codeUnit.addListener(resolve, reject)`