mdict-parser.js
function willScanKeyTable(slicedKeyBlock, num_entries, keyword_index, delay) {
      slicedKeyBlock.delay(delay).then(function (input) {
        var scanner = Scanner(input);
        for (var i = 0, size = keyword_index.length; i < size; i++) {
        // common.log('z',keyword_index[i]);
          read_key_block(scanner, keyword_index[i]);
        }
      });
    }
function willScanKeyTable(slicedKeyBlock, num_entries, keyword_index, delay) {
      slicedKeyBlock.delay(delay).then(function (input) {
        var scanner = Scanner(input);
        for (var i = 0, size = keyword_index.length; i < size; i++) {
        // common.log('z',keyword_index[i]);
          read_key_block(scanner, keyword_index[i]);
        }
      });
    }
Delay to scan key table, for debug onyl.
@param slicedKeyBlock a promise object which will resolve to an ArrayBuffer containing keyword blocks
sliced from mdx/mdd file.
@param num_entries number of keyword entries
@param keyword_index array of keyword index
@param delay time to delay for scanning key table