test/node/test-bundle.js
/**
     * Prepares file for reading
     * @returns {Promise<Archive>} archive instance
     */
Prepares file for reading
@returns {Promise} archive instance
Prepares file for reading @returns { Promise } archive instance
async open(){
        await this._postMessage({type: 'HELLO'},(resolve,reject,msg) => {
            if( msg.type === 'READY' ){
                resolve();
            }
        });
        return await this._postMessage({type: 'OPEN', file: this._file}, (resolve,reject,msg) => {
            if(msg.type === 'OPENED'){
                resolve(this);
            }
        });
    }
async open ( ) { await this . _postMessage ( { type : 'HELLO' } , ( resolve , reject , msg ) => { if ( msg . type === 'READY' ) { resolve ( ) ; } } ) ; return await this . _postMessage ( { type : 'OPEN' , file : this . _file } , ( resolve , reject , msg ) => { if ( msg . type === 'OPENED' ) { resolve ( this ) ; } } ) ; }
Prepares file for reading
 @returns {Promise<Archive>} archive instance
Prepares file for reading @returns { Promise<Archive > } archive instance