from this_package import RegisteredProtocol
#RegisteredProtocol is a model with all registered messages for the interface
#It follows the base Message[TPayload] format provided from the Aind.Behavior.Services api
client = zmq_client_from_registered_protocol(RegisteredProtocol)
await client.send(RegisteredProtocol.StartMessage(args)) #this awaits the return for the StartMessage