Make callback optional for Interactors

This commit is contained in:
Moez Bhatti
2017-10-31 00:35:03 -07:00
parent ece50f111d
commit 64035e85e9
8 changed files with 12 additions and 12 deletions
@@ -26,7 +26,7 @@ class SmsReceiver : BroadcastReceiver() {
.reduce { body, new -> body + new }
val pendingResult = goAsync()
receiveMessage.execute({ pendingResult.finish() }, ReceiveMessage.Params(address, body, time))
receiveMessage.execute(ReceiveMessage.Params(address, body, time), { pendingResult.finish() })
}
}