MCPcopy
hub / github.com/webpack/webpack / _deserializeLazy

Method _deserializeLazy

lib/serialization/BinaryMiddleware.js:1224–1228  ·  view source on GitHub ↗

* Returns new lazy. * @private * @param {LazyFunction<SerializedType, DeserializedType>} fn lazy function * @param {Context} context context object * @returns {LazyFunction<DeserializedType, SerializedType>} new lazy

(fn, context)

Source from the content-addressed store, hash-verified

1222 * @returns {LazyFunction<DeserializedType, SerializedType>} new lazy
1223 */
1224 _deserializeLazy(fn, context) {
1225 return SerializerMiddleware.deserializeLazy(fn, (data) =>
1226 this._deserialize(data, context)
1227 );
1228 }
1229
1230 /**
1231 * Returns deserialized data.

Callers 1

_deserializeMethod · 0.95

Calls 2

_deserializeMethod · 0.95
deserializeLazyMethod · 0.80

Tested by

no test coverage detected