```
var promise = Vow.promise();

zlib.gungip(body, function () {
     ...
     promise.reject();
     ...
     promise.fulfill();
})
```