Expose metadata property from ServerSurfaceCall #1384

This commit is contained in:
Matthew Douglass 2020-04-22 22:18:05 -07:00 committed by GitHub
parent 4946b418b4
commit 9da6843ed7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ export type ServerErrorResponse = ServerStatusResponse & Error;
export type ServerSurfaceCall = {
cancelled: boolean;
readonly metadata: Metadata
getPeer(): string;
sendMetadata(responseMetadata: Metadata): void;
} & EventEmitter;