nl_tokens: Fetches all records from the specified object stores using the provided read - write transaction .
pl_tokens: function fetchAllRecords ( transaction , objectStores ) { return PromiseSync . <mask> ( objectStores . map ( ( descriptor ) => { return fetchRecords ( transaction . getObjectStore ( descriptor . objectStore ) , descriptor . preprocessor ) } ) ) . then ( ( fetchedRecords ) => { let recordsMap = { } for ( let i = 0 ; i < objectStores . length ; i ++ ) { recordsMap [ objectStores [ i ] . objectStore ] = fetchedRecords [ i ] } return recordsMap } ) }