|
1 | 1 | "use strict"; |
2 | 2 |
|
3 | | -import {FrameKind, IPythonProcess, IPythonThread, IPythonModule, IPythonEvaluationResult, IPythonStackFrame} from "./Common/Contracts"; |
4 | | -import {IDjangoStackFrame, PythonEvaluationResultFlags, PythonLanguageVersion, IChildEnumCommand, IPythonException, IExecutionCommand} from "./Common/Contracts"; |
| 3 | +import { FrameKind, IPythonProcess, IPythonThread, IPythonModule, IPythonEvaluationResult, IPythonStackFrame } from "./Common/Contracts"; |
| 4 | +import { IDjangoStackFrame, PythonEvaluationResultFlags, PythonLanguageVersion, IChildEnumCommand, IPythonException, IExecutionCommand } from "./Common/Contracts"; |
5 | 5 | import * as utils from "./Common/Utils"; |
6 | | -import {EventEmitter} from "events"; |
7 | | -import {Commands} from "./ProxyCommands"; |
8 | | -import {SocketStream} from "../common/comms/SocketStream"; |
9 | | -import {ExtractTryStatements} from "./Common/TryParser"; |
| 6 | +import { EventEmitter } from "events"; |
| 7 | +import { Commands } from "./ProxyCommands"; |
| 8 | +import { SocketStream } from "../common/comms/SocketStream"; |
| 9 | +import { ExtractTryStatements } from "./Common/TryParser"; |
10 | 10 | import * as path from "path"; |
| 11 | +import {IdDispenser} from '../common/idDispenser'; |
11 | 12 |
|
12 | 13 | export class PythonProcessCallbackHandler extends EventEmitter { |
13 | 14 | private process: IPythonProcess; |
14 | | - private idDispenser: utils.IdDispenser; |
| 15 | + private idDispenser: IdDispenser; |
15 | 16 | private stream: SocketStream; |
16 | 17 | private _stoppedForException: boolean; |
17 | | - constructor(process: IPythonProcess, stream: SocketStream, idDispenser: utils.IdDispenser) { |
| 18 | + constructor(process: IPythonProcess, stream: SocketStream, idDispenser: IdDispenser) { |
18 | 19 | super(); |
19 | 20 | this.process = process; |
20 | 21 | this.stream = stream; |
|
0 commit comments