DescriptionGo bindings: Generate a CreateMessagePipeFor{{interface}} helper
This allows writing code to generate a typed InterfaceRequest/Pointer
pair for a mojom interface like 'examples.Echo' to be written as:
r, p := examples.CreateMessagePipeForEcho()
proxy := examples.NewEchoProxy(p, bindings.GetAsyncWaiter())
SomethingOrOther(r)
instead of calling bindings.CreateMessagePipeForMojoInterface() and
casting the returned values to examples.EchoRequest and
examples.EchoPointer.
R=rogulenko@google.com
Committed: https://chromium.googlesource.com/external/mojo/+/1a009635755517dc74dcd44fc9c512c5022d688e
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|