Skip to content

Commit 795e9ff

Browse files
committed
chore: remove message event
1 parent 8d77878 commit 795e9ff

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/cmap/connection.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
COMMAND_FAILED,
1111
COMMAND_STARTED,
1212
COMMAND_SUCCEEDED,
13-
MESSAGE,
1413
PINNED,
1514
UNPINNED
1615
} from '../constants';
@@ -130,7 +129,6 @@ export type ConnectionEvents = {
130129
commandFailed(event: CommandFailedEvent): void;
131130
clusterTimeReceived(clusterTime: Document): void;
132131
close(): void;
133-
message(message: any): void;
134132
pinned(pinType: string): void;
135133
unpinned(pinType: string): void;
136134
};
@@ -188,8 +186,6 @@ export class Connection extends TypedEventEmitter<ConnectionEvents> {
188186
/** @event */
189187
static readonly CLOSE = CLOSE;
190188
/** @event */
191-
static readonly MESSAGE = MESSAGE;
192-
/** @event */
193189
static readonly PINNED = PINNED;
194190
/** @event */
195191
static readonly UNPINNED = UNPINNED;

0 commit comments

Comments
 (0)