TOCK provides the helper method ai.tock.bot.definition.notify(...), which is used to send an asynchronous push notification to an open conversation. However, this method returns no status and swallows all exceptions, meaning there is no way for the caller to know whether the operation succeeded or not. It would be helpful to provide a suspending variant which returns a result for the operation.
TOCK provides the helper method
ai.tock.bot.definition.notify(...), which is used to send an asynchronous push notification to an open conversation. However, this method returns no status and swallows all exceptions, meaning there is no way for the caller to know whether the operation succeeded or not. It would be helpful to provide a suspending variant which returns a result for the operation.