MCPcopy Index your code
hub / github.com/sql-js/sql.js / updateFunc

Function updateFunc

documentation/javascript/application.js:2102–2112  ·  view source on GitHub ↗
( i, contexts, values )

Source from the content-addressed store, hash-verified

2100
2101 // Update function for both resolve and progress values
2102 updateFunc = function( i, contexts, values ) {
2103 return function( value ) {
2104 contexts[ i ] = this;
2105 values[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value;
2106 if( values === progressValues ) {
2107 deferred.notifyWith( contexts, values );
2108 } else if ( !( --remaining ) ) {
2109 deferred.resolveWith( contexts, values );
2110 }
2111 };
2112 },
2113
2114 progressValues, progressContexts, resolveContexts;
2115

Callers 1

application.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…