@here/harp-mapview
Version:
Functionality needed to render a map.
21 lines • 827 B
JavaScript
;
/*
* Copyright (C) 2019-2021 HERE Europe B.V.
* Licensed under Apache 2.0, see full license in LICENSE
* SPDX-License-Identifier: Apache-2.0
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.isWorkerBootstrapResponse = exports.isWorkerBootstrapRequest = void 0;
function isWorkerBootstrapRequest(message) {
return (message &&
message.type === "worker-bootstrap-request" &&
Array.isArray(message.dependencies));
}
exports.isWorkerBootstrapRequest = isWorkerBootstrapRequest;
function isWorkerBootstrapResponse(message) {
return (message &&
message.type === "worker-bootstrap-response" &&
Array.isArray(message.resolvedDependencies));
}
exports.isWorkerBootstrapResponse = isWorkerBootstrapResponse;
//# sourceMappingURL=WorkerBootstrapDefs.js.map