hagabaka
11/06/2017, 6:24 PMkovenant.Deferred, used to create a Promise. Whatever the Promise's "return" type, Deferred.resolve() should be called with a value of that type. So when the Promise's result is Unit, `resolve`'s parameter type is Unit. But I guess the answer is just deferred.resolve(Unit)