We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43e8ea4 commit 7f094f9Copy full SHA for 7f094f9
src/main/kotlin/spp/protocol/instrument/command/LiveInstrumentCommand.kt
@@ -41,6 +41,11 @@ data class LiveInstrumentCommand(
41
return json
42
}
43
44
+ fun isDispatchable(): Boolean {
45
+ if (commandType == CommandType.SET_INITIAL_INSTRUMENTS) return true
46
+ return instruments.isNotEmpty() || locations.isNotEmpty()
47
+ }
48
+
49
override fun toString(): String {
50
return buildString {
51
append("LiveInstrumentCommand(")
0 commit comments