Interface TapFileEvents

Events emitted by the Base class

interface TapFileEvents {
    [DESTROYED]: [er?: unknown];
    [ERROR]: [er: unknown];
    abort: [reason: unknown];
    bailout: [reason?: string];
    close: [];
    complete: [results: FinalResults];
    data: [chunk: string];
    drain: [];
    end: [];
    error: [er: unknown];
    finish: [];
    prefinish: [];
    readable: [];
    resume: [];
    timeout: [threw?: Extra];
}

Hierarchy (view full)

Properties

[DESTROYED]: [er?: unknown]
[ERROR]: [er: unknown]
abort: [reason: unknown]
bailout: [reason?: string]

emitted when the test bails out

close: []
complete: [results: FinalResults]

emitted when the test is complete

data: [chunk: string]
drain: []
end: []
error: [er: unknown]
finish: []
prefinish: []
readable: []
resume: []
timeout: [threw?: Extra]

emitted when a timeout occurs