Instead of returning multiple values in the message and ephemeral-message we should use a Boxed or maybe an Object to return a message. This will allow us to have single signal for both types of messages as well. This way we can have Message.ack() instead of the return value of the signal, so that async acknowledgments are possible. And will make it easy to add more properties to it later.
Instead of returning multiple values in the
messageandephemeral-messagewe should use a Boxed or maybe an Object to return a message. This will allow us to have single signal for both types of messages as well. This way we can haveMessage.ack()instead of the return value of the signal, so that async acknowledgments are possible. And will make it easy to add more properties to it later.