Interface Port

interface Port {
    name: string;
    options: {
        port: {
            required: true;
            type: "object";
            validator(port: Port): void;
        };
        timeout: {
            required: false;
            type: "number";
        };
    };
    create(options: Options): PortFS;
    isAvailable(): boolean;
}

Hierarchy

  • _Port
    • Port

Properties

Methods

Properties

name: string = 'Port'
options: {
    port: {
        required: true;
        type: "object";
        validator(port: Port): void;
    };
    timeout: {
        required: false;
        type: "number";
    };
} = ...

Methods