Hi, I'm using the generated js code that uses Promises along with TS.

Example method:

  getMenu(
    request: Menu_pb.GetMenuRequest,
    metadata?: grpcWeb.Metadata
  ): Promise<Menu_pb.Menu>;

I have been passing in the deadline via Metadata in the last argument of 
the generated methods.

How do I interrogate the response trailers using the Promise API ?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/1de40b8f-ad10-4ba9-b35c-efbc4c2a340cn%40googlegroups.com.

Reply via email to