Last active
May 27, 2021 06:05
-
-
Save CodeDrivenMitch/8f6e2d785142bd55bf97026ef589135c to your computer and use it in GitHub Desktop.
send_command_with_metadata.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val metaData = MetaData.from(mapOf("username" to "hansklok")) | |
val command = CreateProfileCommand("morlack", "Mitchell Herrijgers") | |
commandGateway.sendAndWait<Any>(GenericCommandMessage(command, metaData)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment