SwiftyXPC icon indicating copy to clipboard operation
SwiftyXPC copied to clipboard

How do I send a one way message without a payload

Open lockieluke opened this issue 1 year ago • 1 comments
trafficstars

Is the following possible:

try self.connection.sendOnewayMessage(name: CommandSet.cleanup)

lockieluke avatar Feb 26 '24 22:02 lockieluke

Not currently, although you can simply send a "dummy" payload such as an empty string, a zero, etc.

This may be a good idea for future enhancement.

CharlesJS avatar Feb 27 '24 14:02 CharlesJS