IFClite TypeScript API
    Preparing search index...

    Either side, on the port, before it closes.

    interface Bye {
        type: "bye";
    }
    Index
    type: "bye"