Skip to content

Commit 7883164

Browse files
committed
return imports back to original order
1 parent 577b4b4 commit 7883164

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

packages/grpc-js/src/server.ts

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -18,74 +18,74 @@
1818
import * as http2 from 'http2';
1919
import * as util from 'util';
2020

21-
import { CipherNameAndProtocol, TLSSocket } from 'tls';
2221
import { ServiceError } from './call';
23-
import { PartialStatusObject } from './call-interface';
24-
import { ChannelOptions } from './channel-options';
25-
import {
26-
ChannelzCallTracker,
27-
ChannelzCallTrackerStub,
28-
ChannelzChildrenTracker,
29-
ChannelzChildrenTrackerStub,
30-
ChannelzTrace,
31-
ChannelzTraceStub,
32-
ServerInfo,
33-
ServerRef,
34-
SocketInfo,
35-
SocketRef,
36-
TlsInfo,
37-
registerChannelzServer,
38-
registerChannelzSocket,
39-
unregisterChannelzRef,
40-
} from './channelz';
41-
import { LogVerbosity, Status } from './constants';
42-
import * as logging from './logging';
22+
import { Status, LogVerbosity } from './constants';
4323
import { Deserialize, Serialize, ServiceDefinition } from './make-client';
4424
import { Metadata } from './metadata';
45-
import {
46-
ResolverListener,
47-
createResolver,
48-
mapUriDefaultScheme,
49-
} from './resolver';
5025
import {
5126
BidiStreamingHandler,
5227
ClientStreamingHandler,
5328
HandleCall,
5429
Handler,
5530
HandlerType,
31+
sendUnaryData,
5632
ServerDuplexStream,
5733
ServerDuplexStreamImpl,
58-
ServerErrorResponse,
5934
ServerReadableStream,
60-
ServerStatusResponse,
6135
ServerStreamingHandler,
6236
ServerUnaryCall,
6337
ServerWritableStream,
6438
ServerWritableStreamImpl,
6539
UnaryHandler,
66-
sendUnaryData,
40+
ServerErrorResponse,
41+
ServerStatusResponse,
6742
serverErrorToStatus,
6843
} from './server-call';
6944
import { ServerCredentials } from './server-credentials';
45+
import { ChannelOptions } from './channel-options';
7046
import {
71-
ServerInterceptingCallInterface,
72-
ServerInterceptor,
73-
getServerInterceptingCall,
74-
} from './server-interceptors';
47+
createResolver,
48+
ResolverListener,
49+
mapUriDefaultScheme,
50+
} from './resolver';
51+
import * as logging from './logging';
7552
import {
7653
SubchannelAddress,
7754
isTcpSubchannelAddress,
78-
stringToSubchannelAddress,
7955
subchannelAddressToString,
56+
stringToSubchannelAddress,
8057
} from './subchannel-address';
81-
import { CallEventTracker } from './transport';
8258
import {
8359
GrpcUri,
8460
combineHostPort,
8561
parseUri,
8662
splitHostPort,
8763
uriToString,
8864
} from './uri-parser';
65+
import {
66+
ChannelzCallTracker,
67+
ChannelzCallTrackerStub,
68+
ChannelzChildrenTracker,
69+
ChannelzChildrenTrackerStub,
70+
ChannelzTrace,
71+
ChannelzTraceStub,
72+
registerChannelzServer,
73+
registerChannelzSocket,
74+
ServerInfo,
75+
ServerRef,
76+
SocketInfo,
77+
SocketRef,
78+
TlsInfo,
79+
unregisterChannelzRef,
80+
} from './channelz';
81+
import { CipherNameAndProtocol, TLSSocket } from 'tls';
82+
import {
83+
ServerInterceptingCallInterface,
84+
ServerInterceptor,
85+
getServerInterceptingCall,
86+
} from './server-interceptors';
87+
import { PartialStatusObject } from './call-interface';
88+
import { CallEventTracker } from './transport';
8989

9090
const UNLIMITED_CONNECTION_AGE_MS = ~(1 << 31);
9191
const KEEPALIVE_MAX_TIME_MS = ~(1 << 31);

0 commit comments

Comments
 (0)