From 8c794524783a932dea63e383be25b62be335c96d Mon Sep 17 00:00:00 2001 From: JakeWharton Date: Mon, 4 Mar 2024 18:03:39 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20site=20from=20=20@=20eda4984fd?= =?UTF-8?q?93d71e703d69e095b65ef93cc51566e=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/latest/images/homepage.svg | 3 + .../scripts/platform-content-handler.js | 45 +++++++------ docs/latest/styles/main.css | 2 +- docs/latest/styles/style.css | 66 +++++++++++++------ .../-random/index.html | 4 +- .../-random/next-bytes.html | 2 +- .../-random/next-long.html | 2 +- .../-zipline-cryptography/index.html | 2 +- .../-zipline-cryptography/secure-random.html | 2 +- .../app.cash.zipline.cryptography/index.html | 4 +- .../install-cryptography-service.html | 2 +- .../-mode/-check/index.html | 4 +- .../-mode/-dump/index.html | 4 +- .../-mode/entries.html | 2 +- .../-mode/index.html | 12 ++-- .../-mode/value-of.html | 2 +- .../-mode/values.html | 2 +- .../cli-classpath.html | 2 +- .../-validate-zipline-api-task/index.html | 56 ++++++++-------- .../-validate-zipline-api-task/java-home.html | 2 +- .../jdk-release.html | 2 +- .../-validate-zipline-api-task/mode.html | 2 +- .../project-directory.html | 2 +- .../-validate-zipline-api-task/task.html | 2 +- .../zipline-api-file.html | 2 +- .../-manifest-signing-key/algorithm.html | 2 +- .../-manifest-signing-key/index.html | 6 +- .../-manifest-signing-key/name.html | 2 +- .../-manifest-signing-key/private-key.html | 2 +- .../-zipline-compile-task/index.html | 58 ++++++++-------- .../-zipline-compile-task/input-dir.html | 2 +- .../-zipline-compile-task/main-function.html | 2 +- .../-zipline-compile-task/main-module-id.html | 2 +- .../-zipline-compile-task/metadata.html | 2 +- .../-zipline-compile-task/output-dir.html | 2 +- .../-zipline-compile-task/signing-keys.html | 2 +- .../strip-line-numbers.html | 2 +- .../-zipline-compile-task/task.html | 2 +- .../-zipline-compile-task/version.html | 2 +- .../application-name.html | 2 +- .../-zipline-download-task/download-dir.html | 2 +- .../-zipline-download-task/index.html | 48 +++++++------- .../-zipline-download-task/manifest-url.html | 2 +- .../-zipline-download-task/task.html | 2 +- .../-signing-key/algorithm-id.html | 2 +- .../-signing-key/index.html | 6 +- .../-zipline-extension/-signing-key/name.html | 2 +- .../-signing-key/private-key-hex.html | 2 +- .../-zipline-extension/http-server-port.html | 2 +- .../-zipline-extension/index.html | 20 +++--- .../-zipline-extension/main-function.html | 2 +- .../-zipline-extension/main-module-id.html | 2 +- .../-zipline-extension/metadata.html | 2 +- .../optimize-for-developer-experience.html | 2 +- .../optimize-for-small-artifact-size.html | 2 +- .../-zipline-extension/signing-keys.html | 2 +- .../strip-line-numbers.html | 2 +- .../terser-options-json.html | 2 +- .../-zipline-extension/version.html | 2 +- .../-zipline-plugin/apply-to-compilation.html | 2 +- .../-zipline-plugin/index.html | 4 +- .../-zipline-serve-task/index.html | 46 ++++++------- .../-zipline-serve-task/input-dir.html | 2 +- .../-zipline-serve-task/port.html | 2 +- .../-zipline-serve-task/task.html | 2 +- ...r-e-n-t_-z-i-p-l-i-n-e_-v-e-r-s-i-o-n.html | 2 +- .../-freshness-checker/index.html | 2 +- .../-freshness-checker/is-fresh.html | 2 +- .../-load-result/-failure/exception.html | 2 +- .../-load-result/-failure/index.html | 2 +- .../-success/fresh-at-epoch-ms.html | 2 +- .../-load-result/-success/index.html | 6 +- .../-load-result/-success/manifest.html | 2 +- .../-load-result/-success/zipline.html | 2 +- .../-builder/add-ecdsa-p256.html | 2 +- .../-builder/add-ed25519.html | 2 +- .../-manifest-signer/-builder/add.html | 2 +- .../-manifest-signer/-builder/build.html | 2 +- .../-manifest-signer/-builder/index.html | 8 +-- .../-manifest-signer/index.html | 2 +- .../-manifest-signer/sign.html | 2 +- .../-builder/add-ecdsa-p256.html | 2 +- .../-builder/add-ed25519.html | 2 +- .../-manifest-verifier/-builder/add.html | 2 +- .../-manifest-verifier/-builder/build.html | 2 +- .../-manifest-verifier/-builder/index.html | 8 +-- .../-n-o_-s-i-g-n-a-t-u-r-e_-c-h-e-c-k-s.html | 2 +- .../-manifest-verifier/-companion/index.html | 2 +- .../-manifest-verifier/index.html | 2 +- .../-manifest-verifier/verify.html | 2 +- .../-ecdsa-p256/index.html | 4 +- .../-ed25519/index.html | 4 +- .../-signature-algorithm-id/entries.html | 2 +- .../-signature-algorithm-id/index.html | 12 ++-- .../-signature-algorithm-id/value-of.html | 2 +- .../-signature-algorithm-id/values.html | 2 +- .../-zipline-cache.html | 2 +- .../-zipline-file/-companion/index.html | 6 +- .../-zipline-file/-companion/read.html | 2 +- .../-companion/to-zipline-file.html | 2 +- .../-zipline-file/index.html | 8 +-- .../-zipline-file/quickjs-bytecode.html | 2 +- .../-zipline-file/to-byte-string.html | 2 +- .../-zipline-file/write-to.html | 2 +- .../-zipline-file/zipline-version.html | 2 +- .../-zipline-http-client/download.html | 2 +- .../-zipline-http-client/index.html | 4 +- .../open-development-server-web-socket.html | 2 +- .../-zipline-loader.html | 2 +- .../-zipline-loader/-zipline-loader.html | 2 +- .../-zipline-loader/concurrent-downloads.html | 2 +- .../-zipline-loader/index.html | 14 ++-- .../-zipline-loader/load-once.html | 2 +- .../-zipline-loader/load.html | 2 +- .../-zipline-loader/with-cache.html | 2 +- .../-zipline-loader/with-embedded.html | 2 +- .../with-event-listener-factory.html | 2 +- .../[jvm]-zipline-cache.html | 2 +- .../[native]-zipline-cache.html | 2 +- .../as-zipline-http-client.html | 2 +- .../app.cash.zipline.loader/index.html | 14 ++-- .../scheme-and-authority.html | 2 +- .../with-development-server-push.html | 2 +- .../app.cash.zipline.profiler/index.html | 4 +- .../start-cpu-sampling.html | 2 +- .../-call-result/-call-result.html | 2 +- .../-call-result/encoded-result.html | 2 +- .../app.cash.zipline/-call-result/index.html | 10 +-- .../app.cash.zipline/-call-result/result.html | 2 +- .../-call-result/service-names.html | 2 +- .../zipline/app.cash.zipline/-call/-call.html | 2 +- .../zipline/app.cash.zipline/-call/args.html | 2 +- .../app.cash.zipline/-call/encoded-call.html | 2 +- .../app.cash.zipline/-call/function.html | 2 +- .../zipline/app.cash.zipline/-call/index.html | 16 ++--- .../app.cash.zipline/-call/service-name.html | 2 +- .../app.cash.zipline/-call/service-names.html | 2 +- .../app.cash.zipline/-call/service.html | 2 +- .../-event-listener/-companion/-n-o-n-e.html | 2 +- .../-event-listener/-companion/index.html | 2 +- .../-event-listener/-factory/create.html | 2 +- .../-event-listener/-factory/index.html | 2 +- .../application-load-failed.html | 2 +- .../application-load-skipped-not-fresh.html | 2 +- .../application-load-skipped.html | 2 +- .../application-load-start.html | 2 +- .../application-load-success.html | 2 +- .../-event-listener/bind-service.html | 2 +- .../-event-listener/call-end.html | 2 +- .../-event-listener/call-start.html | 2 +- .../-event-listener/download-end.html | 2 +- .../-event-listener/download-failed.html | 2 +- .../-event-listener/download-start.html | 2 +- .../-event-listener/index.html | 48 +++++++------- .../-event-listener/initializer-end.html | 2 +- .../-event-listener/initializer-start.html | 2 +- .../-event-listener/main-function-end.html | 2 +- .../-event-listener/main-function-start.html | 2 +- .../manifest-parse-failed.html | 2 +- .../-event-listener/manifest-ready.html | 2 +- .../-event-listener/manifest-verified.html | 2 +- .../-event-listener/module-load-end.html | 2 +- .../-event-listener/module-load-start.html | 2 +- .../-event-listener/service-leaked.html | 2 +- .../-event-listener/take-service.html | 2 +- .../-event-listener/zipline-closed.html | 2 +- .../-event-listener/zipline-created.html | 2 +- .../-interrupt-handler/index.html | 2 +- .../-interrupt-handler/poll.html | 2 +- .../-memory-usage/arrays-count.html | 2 +- .../-memory-usage/atoms-count.html | 2 +- .../-memory-usage/atoms-size.html | 2 +- .../-memory-usage/binary-objects-count.html | 2 +- .../-memory-usage/binary-objects-size.html | 2 +- .../-memory-usage/c-functions-count.html | 2 +- .../-memory-usage/fast-arrays-count.html | 2 +- .../fast-arrays-elements-count.html | 2 +- .../app.cash.zipline/-memory-usage/index.html | 52 +++++++-------- .../-memory-usage/js-functions-code-size.html | 2 +- .../-memory-usage/js-functions-count.html | 2 +- ...js-functions-line-number-tables-count.html | 2 +- .../js-functions-line-number-tables-size.html | 2 +- .../-memory-usage/js-functions-size.html | 2 +- .../-memory-usage/memory-allocated-count.html | 2 +- .../-memory-usage/memory-allocated-limit.html | 2 +- .../-memory-usage/memory-allocated-size.html | 2 +- .../-memory-usage/memory-used-count.html | 2 +- .../-memory-usage/memory-used-size.html | 2 +- .../-memory-usage/objects-count.html | 2 +- .../-memory-usage/objects-size.html | 2 +- .../-memory-usage/properties-count.html | 2 +- .../-memory-usage/properties-size.html | 2 +- .../-memory-usage/shape-count.html | 2 +- .../-memory-usage/shape-size.html | 2 +- .../-memory-usage/strings-count.html | 2 +- .../-memory-usage/strings-size.html | 2 +- .../-quick-js-exception/index.html | 4 +- .../-quick-js/-companion/create.html | 2 +- .../-quick-js/-companion/index.html | 4 +- .../-quick-js/-companion/version.html | 2 +- .../app.cash.zipline/-quick-js/close.html | 2 +- .../app.cash.zipline/-quick-js/compile.html | 2 +- .../app.cash.zipline/-quick-js/evaluate.html | 2 +- .../app.cash.zipline/-quick-js/execute.html | 2 +- .../app.cash.zipline/-quick-js/finalize.html | 2 +- .../-quick-js/gc-threshold.html | 2 +- .../app.cash.zipline/-quick-js/gc.html | 2 +- .../app.cash.zipline/-quick-js/index.html | 22 +++---- .../-quick-js/interrupt-handler.html | 2 +- .../-quick-js/max-stack-size.html | 2 +- .../-quick-js/memory-limit.html | 2 +- .../-quick-js/memory-usage.html | 2 +- .../index.html | 2 +- .../-zipline-exception/index.html | 4 +- .../-zipline-function/id.html | 2 +- .../-zipline-function/index.html | 10 +-- .../-zipline-function/is-close.html | 2 +- .../-zipline-function/is-suspending.html | 2 +- .../-zipline-function/signature.html | 2 +- .../-zipline-manifest/-companion/create.html | 2 +- .../-companion/decode-json.html | 2 +- .../-zipline-manifest/-companion/index.html | 4 +- .../-zipline-manifest/-module/-module.html | 2 +- .../-module/depends-on-ids.html | 2 +- .../-zipline-manifest/-module/index.html | 10 +-- .../-zipline-manifest/-module/sha256.html | 2 +- .../-zipline-manifest/-module/url.html | 2 +- .../-unsigned/-unsigned.html | 2 +- .../-zipline-manifest/-unsigned/base-url.html | 2 +- .../-unsigned/fresh-at-epoch-ms.html | 2 +- .../-zipline-manifest/-unsigned/index.html | 10 +-- .../-unsigned/signatures.html | 2 +- .../-zipline-manifest/base-url.html | 2 +- .../-zipline-manifest/copy.html | 2 +- .../-zipline-manifest/encode-json.html | 2 +- .../-zipline-manifest/fresh-at-epoch-ms.html | 2 +- .../-zipline-manifest/index.html | 28 ++++---- .../-zipline-manifest/main-function.html | 2 +- .../-zipline-manifest/main-module-id.html | 2 +- .../-zipline-manifest/metadata.html | 2 +- .../-zipline-manifest/modules.html | 2 +- .../-zipline-manifest/signature-payload.html | 2 +- .../-zipline-manifest/signatures.html | 2 +- .../-zipline-manifest/unsigned.html | 2 +- .../-zipline-manifest/version.html | 2 +- .../-zipline-scope/close.html | 2 +- .../-zipline-scope/index.html | 4 +- .../-zipline-scoped/index.html | 2 +- .../-zipline-scoped/scope.html | 2 +- .../-zipline-service-type/functions.html | 2 +- .../-zipline-service-type/index.html | 6 +- .../-zipline-service-type/name.html | 2 +- .../-zipline-service/close.html | 2 +- .../-zipline-service/index.html | 2 +- .../-zipline/[host]-companion/create.html | 2 +- .../-zipline/[host]-companion/index.html | 2 +- .../-zipline/[js]-companion/get.html | 2 +- .../-zipline/[js]-companion/index.html | 2 +- .../app.cash.zipline/-zipline/bind.html | 2 +- .../app.cash.zipline/-zipline/close.html | 2 +- .../-zipline/event-listener.html | 2 +- .../app.cash.zipline/-zipline/index.html | 14 ++-- .../app.cash.zipline/-zipline/json.html | 2 +- .../-zipline/load-js-module.html | 2 +- .../app.cash.zipline/-zipline/quick-js.html | 2 +- .../app.cash.zipline/-zipline/take.html | 2 +- .../zipline/app.cash.zipline/index.html | 16 ++--- .../zipline/app.cash.zipline/target-type.html | 2 +- .../zipline/app.cash.zipline/with-scope.html | 2 +- .../zipline-service-serializer.html | 2 +- 270 files changed, 611 insertions(+), 579 deletions(-) create mode 100644 docs/latest/images/homepage.svg diff --git a/docs/latest/images/homepage.svg b/docs/latest/images/homepage.svg new file mode 100644 index 0000000000..e3c83b1ce3 --- /dev/null +++ b/docs/latest/images/homepage.svg @@ -0,0 +1,3 @@ + + + diff --git a/docs/latest/scripts/platform-content-handler.js b/docs/latest/scripts/platform-content-handler.js index 8c4ca53830..811c478883 100644 --- a/docs/latest/scripts/platform-content-handler.js +++ b/docs/latest/scripts/platform-content-handler.js @@ -18,8 +18,6 @@ const samplesLightThemeName = 'idea' window.addEventListener('load', () => { document.querySelectorAll("div[data-platform-hinted]") .forEach(elem => elem.addEventListener('click', (event) => togglePlatformDependent(event, elem))) - document.querySelectorAll("div[tabs-section]") - .forEach(elem => elem.addEventListener('click', (event) => toggleSectionsEventHandler(event))) const filterSection = document.getElementById('filter-section') if (filterSection) { filterSection.addEventListener('click', (event) => filterButtonHandler(event)) @@ -177,19 +175,30 @@ function handleAnchor() { } function initTabs() { - document.querySelectorAll("div[tabs-section]") - .forEach(element => { - showCorrespondingTabBody(element) - element.addEventListener('click', (event) => toggleSectionsEventHandler(event)) - }) - let cached = localStorage.getItem("active-tab") - if (cached) { - let parsed = JSON.parse(cached) - let tab = document.querySelector('div[tabs-section] > button[data-togglable="' + parsed + '"]') - if (tab) { - toggleSections(tab) - } - } + // we could have only a single type of data - classlike or package + const mainContent = document.querySelector('.main-content'); + const type = mainContent ? mainContent.getAttribute("data-page-type") : null; + const localStorageKey = "active-tab-" + type; + document.querySelectorAll('div[tabs-section]').forEach(element => { + showCorrespondingTabBody(element); + element.addEventListener('click', ({target}) => { + const togglable = target ? target.getAttribute("data-togglable") : null; + if (!togglable) return; + + localStorage.setItem(localStorageKey, JSON.stringify(togglable)); + toggleSections(target); + }); + }); + + const cached = localStorage.getItem(localStorageKey); + if (!cached) return; + + const tab = document.querySelector( + 'div[tabs-section] > button[data-togglable="' + JSON.parse(cached) + '"]' + ); + if (!tab) return; + + toggleSections(tab); } function showCorrespondingTabBody(element) { @@ -293,12 +302,6 @@ function toggleSections(target) { activateTabsBody("tabs-section-body") } -function toggleSectionsEventHandler(evt) { - if (!evt.target.getAttribute("data-togglable")) return - localStorage.setItem('active-tab', JSON.stringify(evt.target.getAttribute("data-togglable"))) - toggleSections(evt.target) -} - function togglePlatformDependent(e, container) { let target = e.target if (target.tagName != 'BUTTON') return; diff --git a/docs/latest/styles/main.css b/docs/latest/styles/main.css index ebe1ce12f0..5f7781ec82 100644 --- a/docs/latest/styles/main.css +++ b/docs/latest/styles/main.css @@ -1,6 +1,6 @@ /*! * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. - */#pages-search{cursor:pointer;border:none;border-radius:50%;background:transparent;fill:#fff;fill:var(--dark-mode-and-search-icon-color)}#pages-search:focus{outline:none}#pages-search:hover{background:var(--white-10)}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus],.search #pages-search{display:inline-block;padding:0;margin:0;font-size:0;line-height:0}.search-hotkey-popup{background-color:var(--background-color) !important;padding:4px}.popup-wrapper{min-width:calc(100% - 322px) !important;border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2)}.popup-wrapper input{color:rgba(255,255,255,.8) !important;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important}@media screen and (max-width: 759px){.popup-wrapper{min-width:100% !important}}.template-wrapper{display:grid;height:32px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.8)}.template-wrapper span{color:rgba(255,255,255,.8);line-height:32px}.template-wrapper span.template-description{color:rgba(255,255,255,.6);justify-self:end}@media screen and (max-width: 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important} + */#pages-search{cursor:pointer;border:none;border-radius:50%;background:transparent;fill:#fff;fill:var(--dark-mode-and-search-icon-color)}#pages-search:hover{background:var(--white-10)}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus],.search #pages-search{display:inline-block;padding:0;margin:0;font-size:0;line-height:0}.search-hotkey-popup{background-color:var(--background-color) !important;padding:4px}.popup-wrapper{min-width:calc(100% - 322px) !important;border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important;color:rgba(255,255,255,.8)}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2)}.popup-wrapper input{color:rgba(255,255,255,.8) !important;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important}@media screen and (max-width: 759px){.popup-wrapper{min-width:100% !important}}.template-wrapper{display:grid;height:32px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.8)}.template-wrapper span{color:rgba(255,255,255,.8);line-height:32px}.template-wrapper span.template-description{color:rgba(255,255,255,.6);justify-self:end}@media screen and (max-width: 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important} /* stylelint-disable color-no-hex */ :root { diff --git a/docs/latest/styles/style.css b/docs/latest/styles/style.css index 67a899a594..fc2b84d26d 100644 --- a/docs/latest/styles/style.css +++ b/docs/latest/styles/style.css @@ -342,6 +342,7 @@ td:first-child { /* --- Navigation controls --- */ .navigation-controls { display: flex; + margin-left: 4px; } @media (min-width: 760px) { @@ -354,45 +355,50 @@ td:first-child { display: none; } -/* --- Navigation THEME --- */ -.navigation-controls--search { +.navigation-controls--btn { display: inline-flex; - font-size: 0; - line-height: 0; -} - -.navigation-controls--theme { - display: block; + align-items: center; + justify-content: center; + width: 40px; + height: 40px; border-radius: 50%; background-color: inherit; - margin-left: 4px; + background-position: 50% 50%; padding: 0; border: none; cursor: pointer; font-size: 0; line-height: 0; + transition: background-color 200ms ease-in-out; + will-change: background-color; } -.navigation-controls--theme::before { - height: 40px; - width: 40px; +.navigation-controls--btn:hover { + background-color: var(--white-10); +} + +.navigation-controls--theme { + background-image: url("../images/theme-toggle.svg"); + background-repeat: no-repeat; } -.navigation-controls--theme:hover { - background: var(--white-10); +@media (max-width: 759px) { + .navigation-controls--theme { + display: none; + } } -.navigation-controls--theme::before { - display: block; - content: url("../images/theme-toggle.svg"); +.navigation-controls--homepage { + background-image: url("../images/homepage.svg"); + background-repeat: no-repeat; + background-size: 24px 24px; } @media (max-width: 759px) { - .navigation-controls--theme { + .navigation-controls--homepage { display: none; } } -/* /--- Navigation THEME --- */ .navigation .platform-selector:not([data-active]) { color: #fff; @@ -656,6 +662,26 @@ code.paragraph { text-decoration: line-through; } +/* Workaround for Firefox https://github.com/Kotlin/dokka/issues/3156 */ +@-moz-document url-prefix() { + .strikethrough { + position: relative; + text-decoration: none; + } + + /* complex selectors here are required to handle multiline cases */ + .strikethrough::after, .strikethrough span:after { + content: ''; + position: absolute; + top: 7px; + left: 0; + right: 0; + height: 1px; + background-color: currentColor; + z-index: 1; + } +} + .symbol:empty { padding: 0; } @@ -684,7 +710,7 @@ code { code:not(.block) { display: inline-block; - vertical-align: middle; + vertical-align: bottom; } .symbol > a { diff --git a/docs/latest/zipline-cryptography/app.cash.zipline.cryptography/-random/index.html b/docs/latest/zipline-cryptography/app.cash.zipline.cryptography/-random/index.html index 0c32284b81..9bc85b60c0 100644 --- a/docs/latest/zipline-cryptography/app.cash.zipline.cryptography/-random/index.html +++ b/docs/latest/zipline-cryptography/app.cash.zipline.cryptography/-random/index.html @@ -83,7 +83,7 @@

Functions

-
abstract fun nextBytes(sink: ByteArray, offset: Int = 0, count: Int = sink.size - offset)
+
abstract fun nextBytes(sink: ByteArray, offset: Int = 0, count: Int = sink.size - offset)
@@ -100,7 +100,7 @@

Functions

-
abstract fun nextLong(): Long
+
abstract fun nextLong(): Long
diff --git a/docs/latest/zipline-cryptography/app.cash.zipline.cryptography/-random/next-bytes.html b/docs/latest/zipline-cryptography/app.cash.zipline.cryptography/-random/next-bytes.html index ef24cfa850..f5e1f12ecf 100644 --- a/docs/latest/zipline-cryptography/app.cash.zipline.cryptography/-random/next-bytes.html +++ b/docs/latest/zipline-cryptography/app.cash.zipline.cryptography/-random/next-bytes.html @@ -65,7 +65,7 @@

nextBytes

-
abstract fun nextBytes(sink: ByteArray, offset: Int = 0, count: Int = sink.size - offset)(source)
+
abstract fun nextBytes(sink: ByteArray, offset: Int = 0, count: Int = sink.size - offset)(source)
-
abstract fun nextLong(): Long(source)
+
abstract fun nextLong(): Long(source)
diff --git a/docs/latest/zipline-cryptography/app.cash.zipline.cryptography/-zipline-cryptography/secure-random.html b/docs/latest/zipline-cryptography/app.cash.zipline.cryptography/-zipline-cryptography/secure-random.html index 8109f6db3e..531ebca5dd 100644 --- a/docs/latest/zipline-cryptography/app.cash.zipline.cryptography/-zipline-cryptography/secure-random.html +++ b/docs/latest/zipline-cryptography/app.cash.zipline.cryptography/-zipline-cryptography/secure-random.html @@ -65,7 +65,7 @@

secureRandom

-
+
@@ -94,7 +94,7 @@

Properties

- +
diff --git a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-validate-zipline-api-task/-mode/-dump/index.html b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-validate-zipline-api-task/-mode/-dump/index.html index e26c9e42c7..0a11d15eb3 100644 --- a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-validate-zipline-api-task/-mode/-dump/index.html +++ b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-validate-zipline-api-task/-mode/-dump/index.html @@ -79,7 +79,7 @@

Properties

- +
@@ -94,7 +94,7 @@

Properties

- +
diff --git a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-validate-zipline-api-task/-mode/entries.html b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-validate-zipline-api-task/-mode/entries.html index 3b6752a9b2..461ca32f27 100644 --- a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-validate-zipline-api-task/-mode/entries.html +++ b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-validate-zipline-api-task/-mode/entries.html @@ -63,7 +63,7 @@

entries

-

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

@@ -128,7 +128,7 @@

Properties

- +
@@ -143,7 +143,7 @@

Properties

- +
@@ -162,7 +162,7 @@

Functions

-

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

@@ -177,7 +177,7 @@

Functions

-

Returns an array containing the constants of this enum type, in the order they're declared.

+

Returns an array containing the constants of this enum type, in the order they're declared.

diff --git a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-validate-zipline-api-task/-mode/value-of.html b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-validate-zipline-api-task/-mode/value-of.html index 72182b57f7..b637858eed 100644 --- a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-validate-zipline-api-task/-mode/value-of.html +++ b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-validate-zipline-api-task/-mode/value-of.html @@ -63,7 +63,7 @@

valueOf

-

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws

if this enum type has no constant with the specified name

+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws

if this enum type has no constant with the specified name

@@ -117,7 +117,7 @@

Properties

-
@get:Classpath
abstract val cliClasspath: ConfigurableFileCollection
+
@get:Classpath
abstract val cliClasspath: ConfigurableFileCollection
@@ -132,7 +132,7 @@

Properties

-
@get:Internal
var enabled: Boolean
+
@get:Internal
var enabled: Boolean
@@ -147,7 +147,7 @@

Properties

@@ -162,7 +162,7 @@

Properties

@@ -177,7 +177,7 @@

Properties

-
@get:Input
abstract val javaHome: Property<String>
+
@get:Input
abstract val javaHome: Property<String>
@@ -192,7 +192,7 @@

Properties

-
@get:Input
abstract val jdkRelease: Property<Int>
+
@get:Input
abstract val jdkRelease: Property<Int>
@@ -207,7 +207,7 @@

Properties

@@ -222,7 +222,7 @@

Properties

-
@get:Input
abstract val projectDirectory: Property<String>
+
@get:Input
abstract val projectDirectory: Property<String>
@@ -237,7 +237,7 @@

Properties

-
@get:Internal
protected val services: ServiceRegistry
+
@get:Internal
protected val services: ServiceRegistry
@@ -252,7 +252,7 @@

Properties

-
val state: TaskStateInternal
+
val state: TaskStateInternal
@@ -267,7 +267,7 @@

Properties

-
val timeout: Property<Duration>
+
val timeout: Property<Duration>
@@ -282,7 +282,7 @@

Properties

-
@get:OutputFile
abstract val ziplineApiFile: RegularFileProperty
+
@get:OutputFile
abstract val ziplineApiFile: RegularFileProperty
@@ -301,7 +301,7 @@

Functions

-
open override fun acceptServiceReferences(serviceReferences: MutableSet<ServiceReferenceSpec>)
+
open override fun acceptServiceReferences(serviceReferences: MutableSet<ServiceReferenceSpec>)
@@ -346,7 +346,7 @@

Functions

-
open override fun configure(closure: Closure<Any>): Task
+
open override fun configure(closure: Closure<Any>): Task
@@ -376,7 +376,7 @@

Functions

-
open override fun doFirst(action: Closure<Any>): Task
open override fun doFirst(action: Action<in Task>): Task
open override fun doFirst(actionName: String, action: Action<in Task>): Task
+
open override fun doFirst(action: Closure<Any>): Task
open override fun doFirst(action: Action<in Task>): Task
open override fun doFirst(actionName: String, action: Action<in Task>): Task
@@ -391,7 +391,7 @@

Functions

-
open override fun doLast(action: Closure<Any>): Task
open override fun doLast(action: Action<in Task>): Task
open override fun doLast(actionName: String, action: Action<in Task>): Task
+
open override fun doLast(action: Closure<Any>): Task
open override fun doLast(action: Action<in Task>): Task
open override fun doLast(actionName: String, action: Action<in Task>): Task
@@ -436,7 +436,7 @@

Functions

-
open override fun getActions(): MutableList<Action<in Task>>
+
open override fun getActions(): MutableList<Action<in Task>>
@@ -496,7 +496,7 @@

Functions

-
open override fun getDependsOn(): MutableSet<Any>
+
open override fun getDependsOn(): MutableSet<Any>
@@ -781,7 +781,7 @@

Functions

- +
@@ -796,7 +796,7 @@

Functions

@@ -826,7 +826,7 @@

Functions

-
open override fun getSharedResources(): MutableList<ResourceLock>
+
open override fun getSharedResources(): MutableList<ResourceLock>
@@ -871,7 +871,7 @@

Functions

-
open override fun getTaskActions(): MutableList<InputChangesAwareTaskAction>
+
open override fun getTaskActions(): MutableList<InputChangesAwareTaskAction>
@@ -931,7 +931,7 @@

Functions

-
open override fun getTemporaryDirFactory(): Factory<File>
+
open override fun getTemporaryDirFactory(): Factory<File>
@@ -1021,7 +1021,7 @@

Functions

-
open override fun onlyIf(onlyIfClosure: Closure<Any>)
open override fun onlyIf(spec: Spec<in Task>)
open override fun onlyIf(onlyIfReason: String, spec: Spec<in Task>)
+
open override fun onlyIf(onlyIfClosure: Closure<Any>)
open override fun onlyIf(spec: Spec<in Task>)
open override fun onlyIf(onlyIfReason: String, spec: Spec<in Task>)
@@ -1066,7 +1066,7 @@

Functions

-
open override fun setActions(replacements: MutableList<Action<in Task>>)
+
open override fun setActions(replacements: MutableList<Action<in Task>>)
@@ -1171,7 +1171,7 @@

Functions

-
open override fun setOnlyIf(onlyIfClosure: Closure<Any>)
open override fun setOnlyIf(spec: Spec<in Task>)
open override fun setOnlyIf(onlyIfReason: String, spec: Spec<in Task>)
+
open override fun setOnlyIf(onlyIfClosure: Closure<Any>)
open override fun setOnlyIf(spec: Spec<in Task>)
open override fun setOnlyIf(onlyIfReason: String, spec: Spec<in Task>)
@@ -1231,7 +1231,7 @@

Functions

-
fun task()
+
fun task()
diff --git a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-validate-zipline-api-task/java-home.html b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-validate-zipline-api-task/java-home.html index 6980d5d59d..c3a392033f 100644 --- a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-validate-zipline-api-task/java-home.html +++ b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-validate-zipline-api-task/java-home.html @@ -63,7 +63,7 @@

javaHome

-
@get:Input
abstract val javaHome: Property<String>(source)
+
@get:Input
abstract val javaHome: Property<String>(source)
@@ -113,7 +113,7 @@

Properties

- +
@@ -128,7 +128,7 @@

Properties

-
val privateKey: ByteString
+
val privateKey: ByteString
diff --git a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-compile-task/-manifest-signing-key/name.html b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-compile-task/-manifest-signing-key/name.html index f94e62a4e8..c86e7a0516 100644 --- a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-compile-task/-manifest-signing-key/name.html +++ b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-compile-task/-manifest-signing-key/name.html @@ -63,7 +63,7 @@

name

-
+
-
@get:Internal
var enabled: Boolean
+
@get:Internal
var enabled: Boolean
@@ -132,7 +132,7 @@

Properties

@@ -147,7 +147,7 @@

Properties

@@ -162,7 +162,7 @@

Properties

-
@get:Incremental
@get:InputDirectory
abstract val inputDir: DirectoryProperty
+
@get:Incremental
@get:InputDirectory
abstract val inputDir: DirectoryProperty
@@ -177,7 +177,7 @@

Properties

-
@get:Optional
@get:Input
abstract val mainFunction: Property<String>
+
@get:Optional
@get:Input
abstract val mainFunction: Property<String>
@@ -192,7 +192,7 @@

Properties

-
@get:Optional
@get:Input
abstract val mainModuleId: Property<String>
+
@get:Optional
@get:Input
abstract val mainModuleId: Property<String>
@@ -207,7 +207,7 @@

Properties

-
@get:Optional
@get:Input
abstract val metadata: MapProperty<String, String>
+
@get:Optional
@get:Input
abstract val metadata: MapProperty<String, String>
@@ -222,7 +222,7 @@

Properties

-
@get:OutputDirectory
abstract val outputDir: DirectoryProperty
+
@get:OutputDirectory
abstract val outputDir: DirectoryProperty
@@ -237,7 +237,7 @@

Properties

-
@get:Internal
protected val services: ServiceRegistry
+
@get:Internal
protected val services: ServiceRegistry
@@ -252,7 +252,7 @@

Properties

-
@get:Input
abstract val signingKeys: ListProperty<ZiplineCompileTask.ManifestSigningKey>
+
@get:Input
abstract val signingKeys: ListProperty<ZiplineCompileTask.ManifestSigningKey>
@@ -267,7 +267,7 @@

Properties

-
val state: TaskStateInternal
+
val state: TaskStateInternal
@@ -282,7 +282,7 @@

Properties

-
@get:Optional
@get:Input
abstract val stripLineNumbers: Property<Boolean>
+
@get:Optional
@get:Input
abstract val stripLineNumbers: Property<Boolean>
@@ -297,7 +297,7 @@

Properties

-
val timeout: Property<Duration>
+
val timeout: Property<Duration>
@@ -312,7 +312,7 @@

Properties

-
@get:Optional
@get:Input
abstract val version: Property<String>
+
@get:Optional
@get:Input
abstract val version: Property<String>
@@ -331,7 +331,7 @@

Functions

-
open override fun acceptServiceReferences(serviceReferences: MutableSet<ServiceReferenceSpec>)
+
open override fun acceptServiceReferences(serviceReferences: MutableSet<ServiceReferenceSpec>)
@@ -376,7 +376,7 @@

Functions

-
open override fun configure(closure: Closure<Any>): Task
+
open override fun configure(closure: Closure<Any>): Task
@@ -406,7 +406,7 @@

Functions

-
open override fun doFirst(action: Closure<Any>): Task
open override fun doFirst(action: Action<in Task>): Task
open override fun doFirst(actionName: String, action: Action<in Task>): Task
+
open override fun doFirst(action: Closure<Any>): Task
open override fun doFirst(action: Action<in Task>): Task
open override fun doFirst(actionName: String, action: Action<in Task>): Task
@@ -421,7 +421,7 @@

Functions

-
open override fun doLast(action: Closure<Any>): Task
open override fun doLast(action: Action<in Task>): Task
open override fun doLast(actionName: String, action: Action<in Task>): Task
+
open override fun doLast(action: Closure<Any>): Task
open override fun doLast(action: Action<in Task>): Task
open override fun doLast(actionName: String, action: Action<in Task>): Task
@@ -466,7 +466,7 @@

Functions

-
open override fun getActions(): MutableList<Action<in Task>>
+
open override fun getActions(): MutableList<Action<in Task>>
@@ -526,7 +526,7 @@

Functions

-
open override fun getDependsOn(): MutableSet<Any>
+
open override fun getDependsOn(): MutableSet<Any>
@@ -811,7 +811,7 @@

Functions

- +
@@ -826,7 +826,7 @@

Functions

@@ -856,7 +856,7 @@

Functions

-
open override fun getSharedResources(): MutableList<ResourceLock>
+
open override fun getSharedResources(): MutableList<ResourceLock>
@@ -901,7 +901,7 @@

Functions

-
open override fun getTaskActions(): MutableList<InputChangesAwareTaskAction>
+
open override fun getTaskActions(): MutableList<InputChangesAwareTaskAction>
@@ -961,7 +961,7 @@

Functions

-
open override fun getTemporaryDirFactory(): Factory<File>
+
open override fun getTemporaryDirFactory(): Factory<File>
@@ -1051,7 +1051,7 @@

Functions

-
open override fun onlyIf(onlyIfClosure: Closure<Any>)
open override fun onlyIf(spec: Spec<in Task>)
open override fun onlyIf(onlyIfReason: String, spec: Spec<in Task>)
+
open override fun onlyIf(onlyIfClosure: Closure<Any>)
open override fun onlyIf(spec: Spec<in Task>)
open override fun onlyIf(onlyIfReason: String, spec: Spec<in Task>)
@@ -1096,7 +1096,7 @@

Functions

-
open override fun setActions(replacements: MutableList<Action<in Task>>)
+
open override fun setActions(replacements: MutableList<Action<in Task>>)
@@ -1201,7 +1201,7 @@

Functions

-
open override fun setOnlyIf(onlyIfClosure: Closure<Any>)
open override fun setOnlyIf(spec: Spec<in Task>)
open override fun setOnlyIf(onlyIfReason: String, spec: Spec<in Task>)
+
open override fun setOnlyIf(onlyIfClosure: Closure<Any>)
open override fun setOnlyIf(spec: Spec<in Task>)
open override fun setOnlyIf(onlyIfReason: String, spec: Spec<in Task>)
@@ -1261,7 +1261,7 @@

Functions

-
fun task(inputChanges: InputChanges)
+
fun task(inputChanges: InputChanges)
diff --git a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-compile-task/input-dir.html b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-compile-task/input-dir.html index 27c18007e2..14d9f0647a 100644 --- a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-compile-task/input-dir.html +++ b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-compile-task/input-dir.html @@ -63,7 +63,7 @@

inputDir

-
@get:Incremental
@get:InputDirectory
abstract val inputDir: DirectoryProperty(source)
+
@get:Incremental
@get:InputDirectory
abstract val inputDir: DirectoryProperty(source)
-
@get:Input
abstract val applicationName: Property<String>
+
@get:Input
abstract val applicationName: Property<String>
@@ -113,7 +113,7 @@

Properties

-
@get:OutputDirectory
abstract val downloadDir: DirectoryProperty
+
@get:OutputDirectory
abstract val downloadDir: DirectoryProperty
@@ -128,7 +128,7 @@

Properties

-
@get:Internal
var enabled: Boolean
+
@get:Internal
var enabled: Boolean
@@ -143,7 +143,7 @@

Properties

@@ -158,7 +158,7 @@

Properties

@@ -173,7 +173,7 @@

Properties

-
@get:Input
abstract val manifestUrl: Property<String>
+
@get:Input
abstract val manifestUrl: Property<String>
@@ -188,7 +188,7 @@

Properties

-
@get:Internal
protected val services: ServiceRegistry
+
@get:Internal
protected val services: ServiceRegistry
@@ -203,7 +203,7 @@

Properties

-
val state: TaskStateInternal
+
val state: TaskStateInternal
@@ -218,7 +218,7 @@

Properties

-
val timeout: Property<Duration>
+
val timeout: Property<Duration>
@@ -237,7 +237,7 @@

Functions

-
open override fun acceptServiceReferences(serviceReferences: MutableSet<ServiceReferenceSpec>)
+
open override fun acceptServiceReferences(serviceReferences: MutableSet<ServiceReferenceSpec>)
@@ -282,7 +282,7 @@

Functions

-
open override fun configure(closure: Closure<Any>): Task
+
open override fun configure(closure: Closure<Any>): Task
@@ -312,7 +312,7 @@

Functions

-
open override fun doFirst(action: Closure<Any>): Task
open override fun doFirst(action: Action<in Task>): Task
open override fun doFirst(actionName: String, action: Action<in Task>): Task
+
open override fun doFirst(action: Closure<Any>): Task
open override fun doFirst(action: Action<in Task>): Task
open override fun doFirst(actionName: String, action: Action<in Task>): Task
@@ -327,7 +327,7 @@

Functions

-
open override fun doLast(action: Closure<Any>): Task
open override fun doLast(action: Action<in Task>): Task
open override fun doLast(actionName: String, action: Action<in Task>): Task
+
open override fun doLast(action: Closure<Any>): Task
open override fun doLast(action: Action<in Task>): Task
open override fun doLast(actionName: String, action: Action<in Task>): Task
@@ -372,7 +372,7 @@

Functions

-
open override fun getActions(): MutableList<Action<in Task>>
+
open override fun getActions(): MutableList<Action<in Task>>
@@ -432,7 +432,7 @@

Functions

-
open override fun getDependsOn(): MutableSet<Any>
+
open override fun getDependsOn(): MutableSet<Any>
@@ -717,7 +717,7 @@

Functions

- +
@@ -732,7 +732,7 @@

Functions

@@ -762,7 +762,7 @@

Functions

-
open override fun getSharedResources(): MutableList<ResourceLock>
+
open override fun getSharedResources(): MutableList<ResourceLock>
@@ -807,7 +807,7 @@

Functions

-
open override fun getTaskActions(): MutableList<InputChangesAwareTaskAction>
+
open override fun getTaskActions(): MutableList<InputChangesAwareTaskAction>
@@ -867,7 +867,7 @@

Functions

-
open override fun getTemporaryDirFactory(): Factory<File>
+
open override fun getTemporaryDirFactory(): Factory<File>
@@ -957,7 +957,7 @@

Functions

-
open override fun onlyIf(onlyIfClosure: Closure<Any>)
open override fun onlyIf(spec: Spec<in Task>)
open override fun onlyIf(onlyIfReason: String, spec: Spec<in Task>)
+
open override fun onlyIf(onlyIfClosure: Closure<Any>)
open override fun onlyIf(spec: Spec<in Task>)
open override fun onlyIf(onlyIfReason: String, spec: Spec<in Task>)
@@ -1002,7 +1002,7 @@

Functions

-
open override fun setActions(replacements: MutableList<Action<in Task>>)
+
open override fun setActions(replacements: MutableList<Action<in Task>>)
@@ -1107,7 +1107,7 @@

Functions

-
open override fun setOnlyIf(onlyIfClosure: Closure<Any>)
open override fun setOnlyIf(spec: Spec<in Task>)
open override fun setOnlyIf(onlyIfReason: String, spec: Spec<in Task>)
+
open override fun setOnlyIf(onlyIfClosure: Closure<Any>)
open override fun setOnlyIf(spec: Spec<in Task>)
open override fun setOnlyIf(onlyIfReason: String, spec: Spec<in Task>)
@@ -1167,7 +1167,7 @@

Functions

-
fun task()
+
fun task()
diff --git a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-download-task/manifest-url.html b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-download-task/manifest-url.html index 3baf9634f8..381929fe3a 100644 --- a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-download-task/manifest-url.html +++ b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-download-task/manifest-url.html @@ -63,7 +63,7 @@

manifestUrl

-
@get:Input
abstract val manifestUrl: Property<String>(source)
+
@get:Input
abstract val manifestUrl: Property<String>(source)
-
abstract val algorithmId: Property<SignatureAlgorithmId>
+
abstract val algorithmId: Property<SignatureAlgorithmId>
@@ -113,7 +113,7 @@

Properties

- +
@@ -128,7 +128,7 @@

Properties

-
abstract val privateKeyHex: Property<String>
+
abstract val privateKeyHex: Property<String>
diff --git a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-extension/-signing-key/name.html b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-extension/-signing-key/name.html index e44f1c8ba4..41a1eba189 100644 --- a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-extension/-signing-key/name.html +++ b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-extension/-signing-key/name.html @@ -63,7 +63,7 @@

name

-
+
-
abstract val httpServerPort: Property<Int>
+
abstract val httpServerPort: Property<Int>
@@ -132,7 +132,7 @@

Properties

-
abstract val mainFunction: Property<String>
+
abstract val mainFunction: Property<String>
@@ -147,7 +147,7 @@

Properties

-
abstract val mainModuleId: Property<String>
+
abstract val mainModuleId: Property<String>
@@ -162,7 +162,7 @@

Properties

-
abstract val metadata: MapProperty<String, String>
+
abstract val metadata: MapProperty<String, String>
@@ -177,7 +177,7 @@

Properties

-
abstract val signingKeys: NamedDomainObjectContainer<ZiplineExtension.SigningKey>
+
abstract val signingKeys: NamedDomainObjectContainer<ZiplineExtension.SigningKey>
@@ -192,7 +192,7 @@

Properties

-
abstract val stripLineNumbers: Property<Boolean>

True to strip line number information from the encoded QuickJS bytecode in production builds. Line numbers will not be included in stack traces. This is false by default.

+
abstract val stripLineNumbers: Property<Boolean>

True to strip line number information from the encoded QuickJS bytecode in production builds. Line numbers will not be included in stack traces. This is false by default.

@@ -207,7 +207,7 @@

Properties

-
abstract val terserOptionsJson: Property<String>

JSON-encoded options for the Webpack Terser plugin that is applied to production builds. The interpretation of the JSON is specified by the Terser tool.

+
abstract val terserOptionsJson: Property<String>

JSON-encoded options for the Webpack Terser plugin that is applied to production builds. The interpretation of the JSON is specified by the Terser tool.

@@ -222,7 +222,7 @@

Properties

-
abstract val version: Property<String>
+
abstract val version: Property<String>
@@ -241,7 +241,7 @@

Functions

-

Configure production builds to get good stack traces and profiling, at a cost of artifact size.

+

Configure production builds to get good stack traces and profiling, at a cost of artifact size.

@@ -256,7 +256,7 @@

Functions

-

Configure production builds to get a small artifact, by removing information used for stack traces and the sampling profiler.

+

Configure production builds to get a small artifact, by removing information used for stack traces and the sampling profiler.

diff --git a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-extension/main-function.html b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-extension/main-function.html index 4cc1de961d..24edc58fab 100644 --- a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-extension/main-function.html +++ b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-extension/main-function.html @@ -63,7 +63,7 @@

mainFunction

-
abstract val mainFunction: Property<String>(source)
+
abstract val mainFunction: Property<String>(source)
-
open override fun applyToCompilation(kotlinCompilation: KotlinCompilation<*>): Provider<List<SubpluginOption>>
+
open override fun applyToCompilation(kotlinCompilation: KotlinCompilation<*>): Provider<List<SubpluginOption>>
@@ -158,7 +158,7 @@

Functions

-
open fun getPluginArtifactForNative(): SubpluginArtifact?
+
open fun getPluginArtifactForNative(): SubpluginArtifact?
diff --git a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-serve-task/index.html b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-serve-task/index.html index 51cb1875d8..20b8022447 100644 --- a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-serve-task/index.html +++ b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-serve-task/index.html @@ -98,7 +98,7 @@

Properties

-
@get:Internal
var enabled: Boolean
+
@get:Internal
var enabled: Boolean
@@ -113,7 +113,7 @@

Properties

@@ -128,7 +128,7 @@

Properties

@@ -143,7 +143,7 @@

Properties

-
@get:InputDirectory
abstract val inputDir: DirectoryProperty
+
@get:InputDirectory
abstract val inputDir: DirectoryProperty
@@ -158,7 +158,7 @@

Properties

-
@get:Optional
@get:Input
abstract val port: Property<Int>
+
@get:Optional
@get:Input
abstract val port: Property<Int>
@@ -173,7 +173,7 @@

Properties

-
@get:Internal
protected val services: ServiceRegistry
+
@get:Internal
protected val services: ServiceRegistry
@@ -188,7 +188,7 @@

Properties

-
val state: TaskStateInternal
+
val state: TaskStateInternal
@@ -203,7 +203,7 @@

Properties

-
val timeout: Property<Duration>
+
val timeout: Property<Duration>
@@ -222,7 +222,7 @@

Functions

-
open override fun acceptServiceReferences(serviceReferences: MutableSet<ServiceReferenceSpec>)
+
open override fun acceptServiceReferences(serviceReferences: MutableSet<ServiceReferenceSpec>)
@@ -267,7 +267,7 @@

Functions

-
open override fun configure(closure: Closure<Any>): Task
+
open override fun configure(closure: Closure<Any>): Task
@@ -297,7 +297,7 @@

Functions

-
open override fun doFirst(action: Closure<Any>): Task
open override fun doFirst(action: Action<in Task>): Task
open override fun doFirst(actionName: String, action: Action<in Task>): Task
+
open override fun doFirst(action: Closure<Any>): Task
open override fun doFirst(action: Action<in Task>): Task
open override fun doFirst(actionName: String, action: Action<in Task>): Task
@@ -312,7 +312,7 @@

Functions

-
open override fun doLast(action: Closure<Any>): Task
open override fun doLast(action: Action<in Task>): Task
open override fun doLast(actionName: String, action: Action<in Task>): Task
+
open override fun doLast(action: Closure<Any>): Task
open override fun doLast(action: Action<in Task>): Task
open override fun doLast(actionName: String, action: Action<in Task>): Task
@@ -357,7 +357,7 @@

Functions

-
open override fun getActions(): MutableList<Action<in Task>>
+
open override fun getActions(): MutableList<Action<in Task>>
@@ -417,7 +417,7 @@

Functions

-
open override fun getDependsOn(): MutableSet<Any>
+
open override fun getDependsOn(): MutableSet<Any>
@@ -702,7 +702,7 @@

Functions

- +
@@ -717,7 +717,7 @@

Functions

@@ -747,7 +747,7 @@

Functions

-
open override fun getSharedResources(): MutableList<ResourceLock>
+
open override fun getSharedResources(): MutableList<ResourceLock>
@@ -792,7 +792,7 @@

Functions

-
open override fun getTaskActions(): MutableList<InputChangesAwareTaskAction>
+
open override fun getTaskActions(): MutableList<InputChangesAwareTaskAction>
@@ -852,7 +852,7 @@

Functions

-
open override fun getTemporaryDirFactory(): Factory<File>
+
open override fun getTemporaryDirFactory(): Factory<File>
@@ -942,7 +942,7 @@

Functions

-
open override fun onlyIf(onlyIfClosure: Closure<Any>)
open override fun onlyIf(spec: Spec<in Task>)
open override fun onlyIf(onlyIfReason: String, spec: Spec<in Task>)
+
open override fun onlyIf(onlyIfClosure: Closure<Any>)
open override fun onlyIf(spec: Spec<in Task>)
open override fun onlyIf(onlyIfReason: String, spec: Spec<in Task>)
@@ -987,7 +987,7 @@

Functions

-
open override fun setActions(replacements: MutableList<Action<in Task>>)
+
open override fun setActions(replacements: MutableList<Action<in Task>>)
@@ -1092,7 +1092,7 @@

Functions

-
open override fun setOnlyIf(onlyIfClosure: Closure<Any>)
open override fun setOnlyIf(spec: Spec<in Task>)
open override fun setOnlyIf(onlyIfReason: String, spec: Spec<in Task>)
+
open override fun setOnlyIf(onlyIfClosure: Closure<Any>)
open override fun setOnlyIf(spec: Spec<in Task>)
open override fun setOnlyIf(onlyIfReason: String, spec: Spec<in Task>)
@@ -1152,7 +1152,7 @@

Functions

-
fun task()
+
fun task()
diff --git a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-serve-task/input-dir.html b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-serve-task/input-dir.html index 92acc93a1a..4d6a79212d 100644 --- a/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-serve-task/input-dir.html +++ b/docs/latest/zipline-gradle-plugin/app.cash.zipline.gradle/-zipline-serve-task/input-dir.html @@ -63,7 +63,7 @@

inputDir

-
@get:InputDirectory
abstract val inputDir: DirectoryProperty(source)
+
@get:InputDirectory
abstract val inputDir: DirectoryProperty(source)
-
abstract fun isFresh(manifest: ZiplineManifest, freshAtEpochMs: Long): Boolean

Returns true if manifest is eligible to be used.

+
abstract fun isFresh(manifest: ZiplineManifest, freshAtEpochMs: Long): Boolean

Returns true if manifest is eligible to be used.

diff --git a/docs/latest/zipline-loader/app.cash.zipline.loader/-freshness-checker/is-fresh.html b/docs/latest/zipline-loader/app.cash.zipline.loader/-freshness-checker/is-fresh.html index 7760d10261..ae20ee28c1 100644 --- a/docs/latest/zipline-loader/app.cash.zipline.loader/-freshness-checker/is-fresh.html +++ b/docs/latest/zipline-loader/app.cash.zipline.loader/-freshness-checker/is-fresh.html @@ -63,7 +63,7 @@

isFresh

-
abstract fun isFresh(manifest: ZiplineManifest, freshAtEpochMs: Long): Boolean(source)

Returns true if manifest is eligible to be used.

Parameters

freshAtEpochMs

the time that manifest was fetched from the server by this client. This could be significantly newer than the time the application was built.

+
abstract fun isFresh(manifest: ZiplineManifest, freshAtEpochMs: Long): Boolean(source)

Returns true if manifest is eligible to be used.

Parameters

freshAtEpochMs

the time that manifest was fetched from the server by this client. This could be significantly newer than the time the application was built.

diff --git a/docs/latest/zipline-loader/app.cash.zipline.loader/-load-result/-success/fresh-at-epoch-ms.html b/docs/latest/zipline-loader/app.cash.zipline.loader/-load-result/-success/fresh-at-epoch-ms.html index 9dd8d57bb5..69015cb3c7 100644 --- a/docs/latest/zipline-loader/app.cash.zipline.loader/-load-result/-success/fresh-at-epoch-ms.html +++ b/docs/latest/zipline-loader/app.cash.zipline.loader/-load-result/-success/fresh-at-epoch-ms.html @@ -63,7 +63,7 @@

freshAtEpochMs

-

Timestamp when this manifest was last known fresh.

  • If the manifest came from the network, this is the local time when the request started.

  • If the manifest came from the cache, this is the last known fresh time of what was stored.

  • If the manifest was embedded, this is the last known fresh time of what was embedded.

This timestamp is computed by the local machine for network and cached manifests. For embedded manifests it is computed by whatever machine performed the embedding.

+

Timestamp when this manifest was last known fresh.

  • If the manifest came from the network, this is the local time when the request started.

  • If the manifest came from the cache, this is the last known fresh time of what was stored.

  • If the manifest was embedded, this is the last known fresh time of what was embedded.

This timestamp is computed by the local machine for network and cached manifests. For embedded manifests it is computed by whatever machine performed the embedding.

-

Timestamp when this manifest was last known fresh.

+

Timestamp when this manifest was last known fresh.

@@ -113,7 +113,7 @@

Properties

-

Manifest that describes the code loaded into zipline.

+

Manifest that describes the code loaded into zipline.

@@ -128,7 +128,7 @@

Properties

- +
diff --git a/docs/latest/zipline-loader/app.cash.zipline.loader/-load-result/-success/manifest.html b/docs/latest/zipline-loader/app.cash.zipline.loader/-load-result/-success/manifest.html index 5b4f536a27..1aed4882bb 100644 --- a/docs/latest/zipline-loader/app.cash.zipline.loader/-load-result/-success/manifest.html +++ b/docs/latest/zipline-loader/app.cash.zipline.loader/-load-result/-success/manifest.html @@ -63,7 +63,7 @@

manifest

-

Manifest that describes the code loaded into zipline.

+

Manifest that describes the code loaded into zipline.

-
fun add(algorithm: SignatureAlgorithmId, name: String, privateKey: ByteString): ManifestSigner.Builder
+
fun add(algorithm: SignatureAlgorithmId, name: String, privateKey: ByteString): ManifestSigner.Builder
@@ -113,7 +113,7 @@

Functions

-
fun addEcdsaP256(name: String, privateKey: ByteString): ManifestSigner.Builder

Adds an ECDSA P-256 public key that will be used to sign manifests.

+
fun addEcdsaP256(name: String, privateKey: ByteString): ManifestSigner.Builder

Adds an ECDSA P-256 public key that will be used to sign manifests.

@@ -128,7 +128,7 @@

Functions

-
fun addEd25519(name: String, privateKey: ByteString): ManifestSigner.Builder

Adds an EdDSA Ed25519 public key that will be used to sign manifests.

+
fun addEd25519(name: String, privateKey: ByteString): ManifestSigner.Builder

Adds an EdDSA Ed25519 public key that will be used to sign manifests.

@@ -143,7 +143,7 @@

Functions

diff --git a/docs/latest/zipline-loader/app.cash.zipline.loader/-manifest-signer/index.html b/docs/latest/zipline-loader/app.cash.zipline.loader/-manifest-signer/index.html index 3354decb44..443aab68aa 100644 --- a/docs/latest/zipline-loader/app.cash.zipline.loader/-manifest-signer/index.html +++ b/docs/latest/zipline-loader/app.cash.zipline.loader/-manifest-signer/index.html @@ -98,7 +98,7 @@

Functions

-

Returns a copy of manifest that is signed with all private keys held by this signer.

+

Returns a copy of manifest that is signed with all private keys held by this signer.

diff --git a/docs/latest/zipline-loader/app.cash.zipline.loader/-manifest-signer/sign.html b/docs/latest/zipline-loader/app.cash.zipline.loader/-manifest-signer/sign.html index 79ea7070c6..56b9f47ff7 100644 --- a/docs/latest/zipline-loader/app.cash.zipline.loader/-manifest-signer/sign.html +++ b/docs/latest/zipline-loader/app.cash.zipline.loader/-manifest-signer/sign.html @@ -63,7 +63,7 @@

sign

-

Returns a copy of manifest that is signed with all private keys held by this signer.

+

Returns a copy of manifest that is signed with all private keys held by this signer.

-
fun add(algorithm: SignatureAlgorithmId, name: String, trustedKey: ByteString): ManifestVerifier.Builder
+
fun add(algorithm: SignatureAlgorithmId, name: String, trustedKey: ByteString): ManifestVerifier.Builder
@@ -113,7 +113,7 @@

Functions

-
fun addEcdsaP256(name: String, trustedKey: ByteString): ManifestVerifier.Builder

Adds an ECDSA P-256 public key that will be used to verify manifests.

+
fun addEcdsaP256(name: String, trustedKey: ByteString): ManifestVerifier.Builder

Adds an ECDSA P-256 public key that will be used to verify manifests.

@@ -128,7 +128,7 @@

Functions

-
fun addEd25519(name: String, trustedKey: ByteString): ManifestVerifier.Builder

Adds an EdDSA Ed25519 public key that will be used to verify manifests.

+
fun addEd25519(name: String, trustedKey: ByteString): ManifestVerifier.Builder

Adds an EdDSA Ed25519 public key that will be used to verify manifests.

@@ -143,7 +143,7 @@

Functions

diff --git a/docs/latest/zipline-loader/app.cash.zipline.loader/-manifest-verifier/-companion/-n-o_-s-i-g-n-a-t-u-r-e_-c-h-e-c-k-s.html b/docs/latest/zipline-loader/app.cash.zipline.loader/-manifest-verifier/-companion/-n-o_-s-i-g-n-a-t-u-r-e_-c-h-e-c-k-s.html index 70c7e5a3b4..630a527027 100644 --- a/docs/latest/zipline-loader/app.cash.zipline.loader/-manifest-verifier/-companion/-n-o_-s-i-g-n-a-t-u-r-e_-c-h-e-c-k-s.html +++ b/docs/latest/zipline-loader/app.cash.zipline.loader/-manifest-verifier/-companion/-n-o_-s-i-g-n-a-t-u-r-e_-c-h-e-c-k-s.html @@ -63,7 +63,7 @@

NO_SIGNATURE_CHECKS

-

A special instance of ManifestVerifier that doesn't do any signature checks. Use this in development and tests to skip code signing.

+

A special instance of ManifestVerifier that doesn't do any signature checks. Use this in development and tests to skip code signing.

-

A special instance of ManifestVerifier that doesn't do any signature checks. Use this in development and tests to skip code signing.

+

A special instance of ManifestVerifier that doesn't do any signature checks. Use this in development and tests to skip code signing.

diff --git a/docs/latest/zipline-loader/app.cash.zipline.loader/-manifest-verifier/index.html b/docs/latest/zipline-loader/app.cash.zipline.loader/-manifest-verifier/index.html index fec1b95ba0..77c05a86a3 100644 --- a/docs/latest/zipline-loader/app.cash.zipline.loader/-manifest-verifier/index.html +++ b/docs/latest/zipline-loader/app.cash.zipline.loader/-manifest-verifier/index.html @@ -113,7 +113,7 @@

Functions

-
fun verify(manifestBytes: ByteString, manifest: ZiplineManifest): String?

Returns normally if manifest is signed by a trusted key in verifiers. This will check the first key in ZiplineManifest.signatures that is recognized.

+
fun verify(manifestBytes: ByteString, manifest: ZiplineManifest): String?

Returns normally if manifest is signed by a trusted key in verifiers. This will check the first key in ZiplineManifest.signatures that is recognized.

diff --git a/docs/latest/zipline-loader/app.cash.zipline.loader/-manifest-verifier/verify.html b/docs/latest/zipline-loader/app.cash.zipline.loader/-manifest-verifier/verify.html index 8339f672b1..8f228ce9e1 100644 --- a/docs/latest/zipline-loader/app.cash.zipline.loader/-manifest-verifier/verify.html +++ b/docs/latest/zipline-loader/app.cash.zipline.loader/-manifest-verifier/verify.html @@ -63,7 +63,7 @@

verify

-
fun verify(manifestBytes: ByteString, manifest: ZiplineManifest): String?(source)

Returns normally if manifest is signed by a trusted key in verifiers. This will check the first key in ZiplineManifest.signatures that is recognized.

Return

the key that was verified, which is also the first key that was recognized. This will only return null if this is the special NO_SIGNATURE_CHECKS verifier.

Throws

if no trusted signature is found, or if a signature doesn't verify.

+
fun verify(manifestBytes: ByteString, manifest: ZiplineManifest): String?(source)

Returns normally if manifest is signed by a trusted key in verifiers. This will check the first key in ZiplineManifest.signatures that is recognized.

Return

the key that was verified, which is also the first key that was recognized. This will only return null if this is the special NO_SIGNATURE_CHECKS verifier.

Throws

if no trusted signature is found, or if a signature doesn't verify.

- +
@@ -94,7 +94,7 @@

Properties

- +
diff --git a/docs/latest/zipline-loader/app.cash.zipline.loader/-signature-algorithm-id/-ed25519/index.html b/docs/latest/zipline-loader/app.cash.zipline.loader/-signature-algorithm-id/-ed25519/index.html index 7b4ebc83ae..9a473a8ba4 100644 --- a/docs/latest/zipline-loader/app.cash.zipline.loader/-signature-algorithm-id/-ed25519/index.html +++ b/docs/latest/zipline-loader/app.cash.zipline.loader/-signature-algorithm-id/-ed25519/index.html @@ -79,7 +79,7 @@

Properties

- +
@@ -94,7 +94,7 @@

Properties

- +
diff --git a/docs/latest/zipline-loader/app.cash.zipline.loader/-signature-algorithm-id/entries.html b/docs/latest/zipline-loader/app.cash.zipline.loader/-signature-algorithm-id/entries.html index 4ea21b39c6..f7edf3fca4 100644 --- a/docs/latest/zipline-loader/app.cash.zipline.loader/-signature-algorithm-id/entries.html +++ b/docs/latest/zipline-loader/app.cash.zipline.loader/-signature-algorithm-id/entries.html @@ -63,7 +63,7 @@

entries

-

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

@@ -128,7 +128,7 @@

Properties

- +
@@ -143,7 +143,7 @@

Properties

- +
@@ -162,7 +162,7 @@

Functions

-

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

@@ -177,7 +177,7 @@

Functions

-

Returns an array containing the constants of this enum type, in the order they're declared.

+

Returns an array containing the constants of this enum type, in the order they're declared.

diff --git a/docs/latest/zipline-loader/app.cash.zipline.loader/-signature-algorithm-id/value-of.html b/docs/latest/zipline-loader/app.cash.zipline.loader/-signature-algorithm-id/value-of.html index 4196952133..d23c47bea7 100644 --- a/docs/latest/zipline-loader/app.cash.zipline.loader/-signature-algorithm-id/value-of.html +++ b/docs/latest/zipline-loader/app.cash.zipline.loader/-signature-algorithm-id/value-of.html @@ -63,7 +63,7 @@

valueOf

-

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws

if this enum type has no constant with the specified name

+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws

if this enum type has no constant with the specified name

-
fun ZiplineCache(context: Context, fileSystem: FileSystem, directory: Path, maxSizeInBytes: Long): ZiplineCache(source)
+
fun ZiplineCache(context: Context, fileSystem: FileSystem, directory: Path, maxSizeInBytes: Long): ZiplineCache(source)
-
fun read(source: BufferedSource): ZiplineFile

Reads from a bufferedSource to return a ZiplineFile. This throws an IOException if the content is not a supported ZiplineFile.

+
fun read(source: BufferedSource): ZiplineFile

Reads from a bufferedSource to return a ZiplineFile. This throws an IOException if the content is not a supported ZiplineFile.

-
+
@@ -94,7 +94,7 @@

Functions

-
fun ByteString.toZiplineFile(): ZiplineFile
+
fun ByteString.toZiplineFile(): ZiplineFile
diff --git a/docs/latest/zipline-loader/app.cash.zipline.loader/-zipline-file/-companion/read.html b/docs/latest/zipline-loader/app.cash.zipline.loader/-zipline-file/-companion/read.html index 16c2918175..cc6683e5bb 100644 --- a/docs/latest/zipline-loader/app.cash.zipline.loader/-zipline-file/-companion/read.html +++ b/docs/latest/zipline-loader/app.cash.zipline.loader/-zipline-file/-companion/read.html @@ -63,7 +63,7 @@

read

-
fun read(source: BufferedSource): ZiplineFile(source)

Reads from a bufferedSource to return a ZiplineFile. This throws an IOException if the content is not a supported ZiplineFile.

+
fun read(source: BufferedSource): ZiplineFile(source)

Reads from a bufferedSource to return a ZiplineFile. This throws an IOException if the content is not a supported ZiplineFile.

-
val quickjsBytecode: ByteString
+
val quickjsBytecode: ByteString
@@ -132,7 +132,7 @@

Properties

@@ -151,7 +151,7 @@

Functions

-
fun toByteString(): ByteString
+
fun toByteString(): ByteString
@@ -166,7 +166,7 @@

Functions

-
fun writeTo(sink: BufferedSink)
+
fun writeTo(sink: BufferedSink)
diff --git a/docs/latest/zipline-loader/app.cash.zipline.loader/-zipline-file/quickjs-bytecode.html b/docs/latest/zipline-loader/app.cash.zipline.loader/-zipline-file/quickjs-bytecode.html index ec9bdd67ff..c94bc95603 100644 --- a/docs/latest/zipline-loader/app.cash.zipline.loader/-zipline-file/quickjs-bytecode.html +++ b/docs/latest/zipline-loader/app.cash.zipline.loader/-zipline-file/quickjs-bytecode.html @@ -63,7 +63,7 @@

quickjsBytecode

-
val quickjsBytecode: ByteString(source)
+
val quickjsBytecode: ByteString(source)
-
abstract suspend fun download(url: String, requestHeaders: List<Pair<String, String>>): ByteString
+
abstract suspend fun download(url: String, requestHeaders: List<Pair<String, String>>): ByteString
@@ -113,7 +113,7 @@

Functions

-
open suspend fun openDevelopmentServerWebSocket(url: String, requestHeaders: List<Pair<String, String>>): Flow<String>

Opens a receive-only web socket to url, and returns a flow that emits each message pushed by the server.

+
open suspend fun openDevelopmentServerWebSocket(url: String, requestHeaders: List<Pair<String, String>>): Flow<String>

Opens a receive-only web socket to url, and returns a flow that emits each message pushed by the server.

diff --git a/docs/latest/zipline-loader/app.cash.zipline.loader/-zipline-http-client/open-development-server-web-socket.html b/docs/latest/zipline-loader/app.cash.zipline.loader/-zipline-http-client/open-development-server-web-socket.html index 6763840292..4bd0a717dc 100644 --- a/docs/latest/zipline-loader/app.cash.zipline.loader/-zipline-http-client/open-development-server-web-socket.html +++ b/docs/latest/zipline-loader/app.cash.zipline.loader/-zipline-http-client/open-development-server-web-socket.html @@ -63,7 +63,7 @@

openDevelopmentServerWebSocket

-
open suspend fun openDevelopmentServerWebSocket(url: String, requestHeaders: List<Pair<String, String>>): Flow<String>(source)

Opens a receive-only web socket to url, and returns a flow that emits each message pushed by the server.

This is not a general-purpose web socket API, and serves only the needs of ZiplineLoader's code update signaling for development. For example, this does not expose HTTP response headers, binary messages, open events, or close events.

The flow terminates when the web socket is closed. This will be immediately if the web socket cannot be established, after a graceful shutdown, or after an abrupt disconnection. The close reason is not exposed in this API.

The default implementation returns an empty flow.

+
open suspend fun openDevelopmentServerWebSocket(url: String, requestHeaders: List<Pair<String, String>>): Flow<String>(source)

Opens a receive-only web socket to url, and returns a flow that emits each message pushed by the server.

This is not a general-purpose web socket API, and serves only the needs of ZiplineLoader's code update signaling for development. For example, this does not expose HTTP response headers, binary messages, open events, or close events.

The flow terminates when the web socket is closed. This will be immediately if the web socket cannot be established, after a graceful shutdown, or after an abrupt disconnection. The close reason is not exposed in this API.

The default implementation returns an empty flow.

-
fun ZiplineLoader(dispatcher: CoroutineDispatcher, manifestVerifier: ManifestVerifier, httpClient: <Error class: unknown class>, eventListener: EventListener = EventListener.NONE, nowEpochMs: () -> Long = systemEpochMsClock): ZiplineLoader(source)
fun ZiplineLoader(dispatcher: CoroutineDispatcher, manifestVerifier: ManifestVerifier, urlSession: NSURLSession, eventListener: EventListener = EventListener.NONE, nowEpochMs: () -> Long = systemEpochMsClock): ZiplineLoader(source)
+
fun ZiplineLoader(dispatcher: CoroutineDispatcher, manifestVerifier: ManifestVerifier, httpClient: <Error class: unknown class>, eventListener: EventListener = EventListener.NONE, nowEpochMs: () -> Long = systemEpochMsClock): ZiplineLoader(source)
fun ZiplineLoader(dispatcher: CoroutineDispatcher, manifestVerifier: ManifestVerifier, urlSession: NSURLSession, eventListener: EventListener = EventListener.NONE, nowEpochMs: () -> Long = systemEpochMsClock): ZiplineLoader(source)
-
constructor(dispatcher: CoroutineDispatcher, manifestVerifier: ManifestVerifier, httpClient: ZiplineHttpClient, eventListener: EventListener = EventListener.NONE, nowEpochMs: () -> Long = systemEpochMsClock)
+
constructor(dispatcher: CoroutineDispatcher, manifestVerifier: ManifestVerifier, httpClient: ZiplineHttpClient, eventListener: EventListener = EventListener.NONE, nowEpochMs: () -> Long = systemEpochMsClock)
@@ -98,7 +98,7 @@

Properties

-

Callers can modify this as desired to change the default network download concurrency level.

+

Callers can modify this as desired to change the default network download concurrency level.

@@ -132,7 +132,7 @@

Functions

-
fun load(applicationName: String, manifestUrlFlow: Flow<String>, serializersModule: SerializersModule = EmptySerializersModule(), initializer: (Zipline) -> Unit = {}): Flow<LoadResult>

Downloads ZiplineManifest each time manifestUrlFlow emits and loads Zipline with the newly downloaded ZiplineManifest, skipping loads if the code to load is the same as what's already loaded.

fun load(applicationName: String, freshnessChecker: FreshnessChecker = DefaultFreshnessCheckerNotFresh, manifestUrlFlow: Flow<String>, serializersModule: SerializersModule = EmptySerializersModule(), initializer: (Zipline) -> Unit = {}): Flow<LoadResult>

Returns a flow of loaded applications.

+
fun load(applicationName: String, manifestUrlFlow: Flow<String>, serializersModule: SerializersModule = EmptySerializersModule(), initializer: (Zipline) -> Unit = {}): Flow<LoadResult>

Downloads ZiplineManifest each time manifestUrlFlow emits and loads Zipline with the newly downloaded ZiplineManifest, skipping loads if the code to load is the same as what's already loaded.

fun load(applicationName: String, freshnessChecker: FreshnessChecker = DefaultFreshnessCheckerNotFresh, manifestUrlFlow: Flow<String>, serializersModule: SerializersModule = EmptySerializersModule(), initializer: (Zipline) -> Unit = {}): Flow<LoadResult>

Returns a flow of loaded applications.

@@ -147,7 +147,7 @@

Functions

-
suspend fun loadOnce(applicationName: String, manifestUrl: String, serializersModule: SerializersModule = EmptySerializersModule(), initializer: (Zipline) -> Unit = {}): LoadResult

Always loads from the network, never from local.

suspend fun loadOnce(applicationName: String, freshnessChecker: FreshnessChecker, manifestUrl: String, serializersModule: SerializersModule = EmptySerializersModule(), initializer: (Zipline) -> Unit = {}): LoadResult
+
suspend fun loadOnce(applicationName: String, manifestUrl: String, serializersModule: SerializersModule = EmptySerializersModule(), initializer: (Zipline) -> Unit = {}): LoadResult

Always loads from the network, never from local.

suspend fun loadOnce(applicationName: String, freshnessChecker: FreshnessChecker, manifestUrl: String, serializersModule: SerializersModule = EmptySerializersModule(), initializer: (Zipline) -> Unit = {}): LoadResult
@@ -162,7 +162,7 @@

Functions

@@ -177,7 +177,7 @@

Functions

-
fun withEmbedded(embeddedDir: Path, embeddedFileSystem: FileSystem): ZiplineLoader
+
fun withEmbedded(embeddedDir: Path, embeddedFileSystem: FileSystem): ZiplineLoader
@@ -192,7 +192,7 @@

Functions

diff --git a/docs/latest/zipline-loader/app.cash.zipline.loader/-zipline-loader/load-once.html b/docs/latest/zipline-loader/app.cash.zipline.loader/-zipline-loader/load-once.html index f2f6742869..3f017eef9b 100644 --- a/docs/latest/zipline-loader/app.cash.zipline.loader/-zipline-loader/load-once.html +++ b/docs/latest/zipline-loader/app.cash.zipline.loader/-zipline-loader/load-once.html @@ -63,7 +63,7 @@

loadOnce

-
suspend fun loadOnce(applicationName: String, freshnessChecker: FreshnessChecker, manifestUrl: String, serializersModule: SerializersModule = EmptySerializersModule(), initializer: (Zipline) -> Unit = {}): LoadResult(source)


suspend fun loadOnce(applicationName: String, manifestUrl: String, serializersModule: SerializersModule = EmptySerializersModule(), initializer: (Zipline) -> Unit = {}): LoadResult(source)

Deprecated (with error)

Deprecated, will be removed in 1.9

Replace with

loadOnce with FreshnessChecker in parameter list

Always loads from the network, never from local.

+
suspend fun loadOnce(applicationName: String, freshnessChecker: FreshnessChecker, manifestUrl: String, serializersModule: SerializersModule = EmptySerializersModule(), initializer: (Zipline) -> Unit = {}): LoadResult(source)


suspend fun loadOnce(applicationName: String, manifestUrl: String, serializersModule: SerializersModule = EmptySerializersModule(), initializer: (Zipline) -> Unit = {}): LoadResult(source)

Deprecated (with error)

Deprecated, will be removed in 1.9

Replace with

loadOnce with FreshnessChecker in parameter list

Always loads from the network, never from local.

-
fun ZiplineCache(fileSystem: FileSystem, directory: Path, maxSizeInBytes: Long): ZiplineCache(source)
+
fun ZiplineCache(fileSystem: FileSystem, directory: Path, maxSizeInBytes: Long): ZiplineCache(source)
-
fun ZiplineCache(fileSystem: FileSystem, directory: Path, maxSizeInBytes: Long): ZiplineCache(source)
+
fun ZiplineCache(fileSystem: FileSystem, directory: Path, maxSizeInBytes: Long): ZiplineCache(source)
-
fun <Error class: unknown class>.asZiplineHttpClient(): ZiplineHttpClient(source)
+
fun <Error class: unknown class>.asZiplineHttpClient(): ZiplineHttpClient(source)
@@ -236,7 +236,7 @@

Properties

- +
@@ -257,7 +257,7 @@

Functions

-
fun <Error class: unknown class>.asZiplineHttpClient(): ZiplineHttpClient
+
fun <Error class: unknown class>.asZiplineHttpClient(): ZiplineHttpClient
@@ -272,7 +272,7 @@

Functions

-

Returns a string like "http://host:8080" given a full URL like "http://host:8080/path?query". This is naive and assumes a well-formed URL.

+

Returns a string like "http://host:8080" given a full URL like "http://host:8080/path?query". This is naive and assumes a well-formed URL.

@@ -287,7 +287,7 @@

Functions

-
fun Flow<String>.withDevelopmentServerPush(httpClient: ZiplineHttpClient, pollingInterval: Duration = 500.milliseconds): Flow<String>

Returns a flow that emits every time this flow emits, and also emits whenever the websocket for the most recent URL signals an update.

+
fun Flow<String>.withDevelopmentServerPush(httpClient: ZiplineHttpClient, pollingInterval: Duration = 500.milliseconds): Flow<String>

Returns a flow that emits every time this flow emits, and also emits whenever the websocket for the most recent URL signals an update.

@@ -304,7 +304,7 @@

Functions

-
fun ZiplineCache(context: Context, fileSystem: FileSystem, directory: Path, maxSizeInBytes: Long): ZiplineCache
fun ZiplineCache(fileSystem: FileSystem, directory: Path, maxSizeInBytes: Long): ZiplineCache
fun ZiplineCache(fileSystem: FileSystem, directory: Path, maxSizeInBytes: Long): ZiplineCache
+
fun ZiplineCache(context: Context, fileSystem: FileSystem, directory: Path, maxSizeInBytes: Long): ZiplineCache
fun ZiplineCache(fileSystem: FileSystem, directory: Path, maxSizeInBytes: Long): ZiplineCache
fun ZiplineCache(fileSystem: FileSystem, directory: Path, maxSizeInBytes: Long): ZiplineCache
@@ -321,7 +321,7 @@

Functions

-
fun ZiplineLoader(dispatcher: CoroutineDispatcher, manifestVerifier: ManifestVerifier, httpClient: <Error class: unknown class>, eventListener: EventListener = EventListener.NONE, nowEpochMs: () -> Long = systemEpochMsClock): ZiplineLoader
fun ZiplineLoader(dispatcher: CoroutineDispatcher, manifestVerifier: ManifestVerifier, urlSession: NSURLSession, eventListener: EventListener = EventListener.NONE, nowEpochMs: () -> Long = systemEpochMsClock): ZiplineLoader
+
fun ZiplineLoader(dispatcher: CoroutineDispatcher, manifestVerifier: ManifestVerifier, httpClient: <Error class: unknown class>, eventListener: EventListener = EventListener.NONE, nowEpochMs: () -> Long = systemEpochMsClock): ZiplineLoader
fun ZiplineLoader(dispatcher: CoroutineDispatcher, manifestVerifier: ManifestVerifier, urlSession: NSURLSession, eventListener: EventListener = EventListener.NONE, nowEpochMs: () -> Long = systemEpochMsClock): ZiplineLoader
diff --git a/docs/latest/zipline-loader/app.cash.zipline.loader/scheme-and-authority.html b/docs/latest/zipline-loader/app.cash.zipline.loader/scheme-and-authority.html index cefe0a8921..e7145e38cd 100644 --- a/docs/latest/zipline-loader/app.cash.zipline.loader/scheme-and-authority.html +++ b/docs/latest/zipline-loader/app.cash.zipline.loader/scheme-and-authority.html @@ -63,7 +63,7 @@

schemeAndAuthority

-

Returns a string like "http://host:8080" given a full URL like "http://host:8080/path?query". This is naive and assumes a well-formed URL.

+

Returns a string like "http://host:8080" given a full URL like "http://host:8080/path?query". This is naive and assumes a well-formed URL.

@@ -128,7 +128,7 @@

Properties

-

Names of ZiplineService instances passed in the result of this call. These are opaque generated IDs that can be correlated to EventListener.serviceLeaked if the service is not closed properly.

+

Names of ZiplineService instances passed in the result of this call. These are opaque generated IDs that can be correlated to EventListener.serviceLeaked if the service is not closed properly.

diff --git a/docs/latest/zipline/app.cash.zipline/-call-result/result.html b/docs/latest/zipline/app.cash.zipline/-call-result/result.html index 47fd87c3d6..e591bd6e66 100644 --- a/docs/latest/zipline/app.cash.zipline/-call-result/result.html +++ b/docs/latest/zipline/app.cash.zipline/-call-result/result.html @@ -63,7 +63,7 @@

result

-
+
@@ -98,7 +98,7 @@

Properties

-
val args: List<*>

The original arguments passed to the function, in the order they appear in the function signature.

+
val args: List<*>

The original arguments passed to the function, in the order they appear in the function signature.

@@ -113,7 +113,7 @@

Properties

-

Zipline's internal encoding of the call. This is intended to help with both debugging and optimization. The content of this string is not a stable format and should not be operated on programmatically.

+

Zipline's internal encoding of the call. This is intended to help with both debugging and optimization. The content of this string is not a stable format and should not be operated on programmatically.

@@ -128,7 +128,7 @@

Properties

-

The function being called. If the function is unknown to the receiver, it will synthesize a ZiplineFunction instance that always throws ZiplineApiMismatchException.

+

The function being called. If the function is unknown to the receiver, it will synthesize a ZiplineFunction instance that always throws ZiplineApiMismatchException.

@@ -143,7 +143,7 @@

Properties

-

The service instance. Do not downcast this to a concrete type; it may be a generated implementation of the interface.

+

The service instance. Do not downcast this to a concrete type; it may be a generated implementation of the interface.

@@ -158,7 +158,7 @@

Properties

-

The name of the service as used in Zipline.bind or Zipline.take.

+

The name of the service as used in Zipline.bind or Zipline.take.

@@ -173,7 +173,7 @@

Properties

-

Names of ZiplineService instances passed in the parameters of this call. These are opaque generated IDs that can be correlated to EventListener.serviceLeaked if the service is not closed properly.

+

Names of ZiplineService instances passed in the parameters of this call. These are opaque generated IDs that can be correlated to EventListener.serviceLeaked if the service is not closed properly.

diff --git a/docs/latest/zipline/app.cash.zipline/-call/service-name.html b/docs/latest/zipline/app.cash.zipline/-call/service-name.html index 7ec395faa5..4c8fc3d1e3 100644 --- a/docs/latest/zipline/app.cash.zipline/-call/service-name.html +++ b/docs/latest/zipline/app.cash.zipline/-call/service-name.html @@ -63,7 +63,7 @@

serviceName

-

The name of the service as used in Zipline.bind or Zipline.take.

+

The name of the service as used in Zipline.bind or Zipline.take.

-
+
diff --git a/docs/latest/zipline/app.cash.zipline/-event-listener/-factory/create.html b/docs/latest/zipline/app.cash.zipline/-event-listener/-factory/create.html index 8100e4889e..a34286393b 100644 --- a/docs/latest/zipline/app.cash.zipline/-event-listener/-factory/create.html +++ b/docs/latest/zipline/app.cash.zipline/-event-listener/-factory/create.html @@ -65,7 +65,7 @@

create

-
abstract fun create(applicationName: String, manifestUrl: String?): EventListener(source)

Creates an event listener to receive all events of a single Zipline instance.

This may be used to group events from the same load, without tracking distinct Zipline instances in a map. For example, it could be used to connect a serviceLeaked event to the offending code's manifestUrl or ZiplineManifest.version.

+
abstract fun create(applicationName: String, manifestUrl: String?): EventListener(source)

Creates an event listener to receive all events of a single Zipline instance.

This may be used to group events from the same load, without tracking distinct Zipline instances in a map. For example, it could be used to connect a serviceLeaked event to the offending code's manifestUrl or ZiplineManifest.version.

diff --git a/docs/latest/zipline/app.cash.zipline/-event-listener/application-load-failed.html b/docs/latest/zipline/app.cash.zipline/-event-listener/application-load-failed.html index 6ca10e68f5..79dedd44c8 100644 --- a/docs/latest/zipline/app.cash.zipline/-event-listener/application-load-failed.html +++ b/docs/latest/zipline/app.cash.zipline/-event-listener/application-load-failed.html @@ -65,7 +65,7 @@

applicationLoad
-
open fun applicationLoadFailed(applicationName: String, manifestUrl: String?, exception: Exception, startValue: Any?)(source)

Invoked when an application load fails.

Parameters

startValue

the value returned by applicationLoadStart for the start of this call. This is null unless applicationLoadStart is overridden to return something else.

+
open fun applicationLoadFailed(applicationName: String, manifestUrl: String?, exception: Exception, startValue: Any?)(source)

Invoked when an application load fails.

Parameters

startValue

the value returned by applicationLoadStart for the start of this call. This is null unless applicationLoadStart is overridden to return something else.

-
open fun applicationLoadSkippedNotFresh(applicationName: String, manifestUrl: String?, startValue: Any?)(source)

Invoked when an application load was skipped because the code is stale.

Parameters

startValue

the value returned by applicationLoadStart for the start of this call. This is null unless applicationLoadStart is overridden to return something else.

+
open fun applicationLoadSkippedNotFresh(applicationName: String, manifestUrl: String?, startValue: Any?)(source)

Invoked when an application load was skipped because the code is stale.

Parameters

startValue

the value returned by applicationLoadStart for the start of this call. This is null unless applicationLoadStart is overridden to return something else.

-
open fun bindService(zipline: Zipline, name: String, service: ZiplineService)(source)

Invoked when something calls Zipline.bind, or a service is sent via an API.

+
open fun bindService(zipline: Zipline, name: String, service: ZiplineService)(source)

Invoked when something calls Zipline.bind, or a service is sent via an API.

-
open fun callEnd(zipline: Zipline, call: Call, result: CallResult, startValue: Any?)(source)

Invoked when a service function call completes.

Parameters

startValue

the value returned by callStart for the start of this call. This is null unless callStart is overridden to return something else.

+
open fun callEnd(zipline: Zipline, call: Call, result: CallResult, startValue: Any?)(source)

Invoked when a service function call completes.

Parameters

startValue

the value returned by callStart for the start of this call. This is null unless callStart is overridden to return something else.

-
open fun callStart(zipline: Zipline, call: Call): Any?(source)

Invoked when a service function is called. This may be invoked for either suspending or non-suspending functions.

Return

any object. This value will be passed back to callEnd when the call is completed. The base function always returns null.

+
open fun callStart(zipline: Zipline, call: Call): Any?(source)

Invoked when a service function is called. This may be invoked for either suspending or non-suspending functions.

Return

any object. This value will be passed back to callEnd when the call is completed. The base function always returns null.

-
open fun downloadEnd(applicationName: String, url: String, startValue: Any?)(source)

Invoked when a network download succeeds.

Parameters

startValue

the value returned by downloadStart for the start of this call. This is null unless downloadStart is overridden to return something else.

+
open fun downloadEnd(applicationName: String, url: String, startValue: Any?)(source)

Invoked when a network download succeeds.

Parameters

startValue

the value returned by downloadStart for the start of this call. This is null unless downloadStart is overridden to return something else.

-
open fun downloadStart(applicationName: String, url: String): Any?(source)

Invoked when a network download starts

+
open fun downloadStart(applicationName: String, url: String): Any?(source)

Invoked when a network download starts

@@ -159,7 +159,7 @@

Functions

-
open fun applicationLoadSkipped(applicationName: String, manifestUrl: String, startValue: Any?)

Invoked when an application load was skipped because the code is unchanged.

+
open fun applicationLoadSkipped(applicationName: String, manifestUrl: String, startValue: Any?)

Invoked when an application load was skipped because the code is unchanged.

@@ -176,7 +176,7 @@

Functions

-
open fun applicationLoadSkippedNotFresh(applicationName: String, manifestUrl: String?, startValue: Any?)

Invoked when an application load was skipped because the code is stale.

+
open fun applicationLoadSkippedNotFresh(applicationName: String, manifestUrl: String?, startValue: Any?)

Invoked when an application load was skipped because the code is stale.

@@ -193,7 +193,7 @@

Functions

-
open fun applicationLoadStart(applicationName: String, manifestUrl: String?): Any?

Invoked when an application load starts.

+
open fun applicationLoadStart(applicationName: String, manifestUrl: String?): Any?

Invoked when an application load starts.

@@ -210,7 +210,7 @@

Functions

-
open fun applicationLoadSuccess(applicationName: String, manifestUrl: String?, manifest: ZiplineManifest, zipline: Zipline, startValue: Any?)

Invoked when an application load succeeds.

+
open fun applicationLoadSuccess(applicationName: String, manifestUrl: String?, manifest: ZiplineManifest, zipline: Zipline, startValue: Any?)

Invoked when an application load succeeds.

@@ -227,7 +227,7 @@

Functions

-
open fun bindService(zipline: Zipline, name: String, service: ZiplineService)

Invoked when something calls Zipline.bind, or a service is sent via an API.

+
open fun bindService(zipline: Zipline, name: String, service: ZiplineService)

Invoked when something calls Zipline.bind, or a service is sent via an API.

@@ -244,7 +244,7 @@

Functions

-
open fun callEnd(zipline: Zipline, call: Call, result: CallResult, startValue: Any?)

Invoked when a service function call completes.

+
open fun callEnd(zipline: Zipline, call: Call, result: CallResult, startValue: Any?)

Invoked when a service function call completes.

@@ -261,7 +261,7 @@

Functions

-
open fun callStart(zipline: Zipline, call: Call): Any?

Invoked when a service function is called. This may be invoked for either suspending or non-suspending functions.

+
open fun callStart(zipline: Zipline, call: Call): Any?

Invoked when a service function is called. This may be invoked for either suspending or non-suspending functions.

@@ -278,7 +278,7 @@

Functions

-
open fun downloadEnd(applicationName: String, url: String, startValue: Any?)

Invoked when a network download succeeds.

+
open fun downloadEnd(applicationName: String, url: String, startValue: Any?)

Invoked when a network download succeeds.

@@ -295,7 +295,7 @@

Functions

-
open fun downloadFailed(applicationName: String, url: String, exception: Exception, startValue: Any?)

Invoked when a network download fails.

+
open fun downloadFailed(applicationName: String, url: String, exception: Exception, startValue: Any?)

Invoked when a network download fails.

@@ -312,7 +312,7 @@

Functions

-
open fun downloadStart(applicationName: String, url: String): Any?

Invoked when a network download starts

+
open fun downloadStart(applicationName: String, url: String): Any?

Invoked when a network download starts

@@ -329,7 +329,7 @@

Functions

-
open fun initializerEnd(zipline: Zipline, applicationName: String, startValue: Any?)

Invoked when initializer is finished. Failure is not recorded separately as it is unrecoverable.

+
open fun initializerEnd(zipline: Zipline, applicationName: String, startValue: Any?)

Invoked when initializer is finished. Failure is not recorded separately as it is unrecoverable.

@@ -346,7 +346,7 @@

Functions

-
open fun initializerStart(zipline: Zipline, applicationName: String): Any?

Initializer runs before the mainFunction and executes on the host platform.

+
open fun initializerStart(zipline: Zipline, applicationName: String): Any?

Initializer runs before the mainFunction and executes on the host platform.

@@ -363,7 +363,7 @@

Functions

-
open fun mainFunctionEnd(zipline: Zipline, applicationName: String, startValue: Any?)

Invoked when mainFunction is finished. Failure is not recorded separately as it is unrecoverable.

+
open fun mainFunctionEnd(zipline: Zipline, applicationName: String, startValue: Any?)

Invoked when mainFunction is finished. Failure is not recorded separately as it is unrecoverable.

@@ -380,7 +380,7 @@

Functions

-
open fun mainFunctionStart(zipline: Zipline, applicationName: String): Any?

Invoked when mainFunction is run within the JS platform to start an application.

+
open fun mainFunctionStart(zipline: Zipline, applicationName: String): Any?

Invoked when mainFunction is run within the JS platform to start an application.

@@ -397,7 +397,7 @@

Functions

-
open fun manifestParseFailed(applicationName: String, url: String?, exception: Exception)

Invoked when the manifest couldn't be decoded as JSON. For example, this might occur if there's a captive portal on the network.

+
open fun manifestParseFailed(applicationName: String, url: String?, exception: Exception)

Invoked when the manifest couldn't be decoded as JSON. For example, this might occur if there's a captive portal on the network.

@@ -414,7 +414,7 @@

Functions

-
open fun manifestReady(applicationName: String, manifestUrl: String?, manifest: ZiplineManifest)

Invoked when the loader has successfully fetched a manifest, verified it (if necessary), and will proceed to download and load each of its modules.

+
open fun manifestReady(applicationName: String, manifestUrl: String?, manifest: ZiplineManifest)

Invoked when the loader has successfully fetched a manifest, verified it (if necessary), and will proceed to download and load each of its modules.

@@ -431,7 +431,7 @@

Functions

-
open fun manifestVerified(applicationName: String, manifestUrl: String?, manifest: ZiplineManifest, verifiedKey: String)

Invoked when a the manifest verifier successfully verifies a key. Manifest verification failures are signaled with applicationLoadFailed.

+
open fun manifestVerified(applicationName: String, manifestUrl: String?, manifest: ZiplineManifest, verifiedKey: String)

Invoked when a the manifest verifier successfully verifies a key. Manifest verification failures are signaled with applicationLoadFailed.

@@ -448,7 +448,7 @@

Functions

-
open fun moduleLoadEnd(zipline: Zipline, moduleId: String, startValue: Any?)

Invoked when a module load completes.

+
open fun moduleLoadEnd(zipline: Zipline, moduleId: String, startValue: Any?)

Invoked when a module load completes.

@@ -465,7 +465,7 @@

Functions

-
open fun moduleLoadStart(zipline: Zipline, moduleId: String): Any?

Invoked when a module load starts. This is the process of loading code into QuickJS.

+
open fun moduleLoadStart(zipline: Zipline, moduleId: String): Any?

Invoked when a module load starts. This is the process of loading code into QuickJS.

@@ -482,7 +482,7 @@

Functions

-
open fun serviceLeaked(zipline: Zipline, name: String)

Invoked when a service is garbage collected without being closed.

+
open fun serviceLeaked(zipline: Zipline, name: String)

Invoked when a service is garbage collected without being closed.

@@ -499,7 +499,7 @@

Functions

-
open fun takeService(zipline: Zipline, name: String, service: ZiplineService)

Invoked when something calls Zipline.take, or a service is received via an API.

+
open fun takeService(zipline: Zipline, name: String, service: ZiplineService)

Invoked when something calls Zipline.take, or a service is received via an API.

@@ -516,7 +516,7 @@

Functions

-
open fun ziplineClosed(zipline: Zipline)

Invoked when a Zipline is closed. Unless otherwise noted, other methods on this interface will not be invoked after this.

+
open fun ziplineClosed(zipline: Zipline)

Invoked when a Zipline is closed. Unless otherwise noted, other methods on this interface will not be invoked after this.

@@ -533,7 +533,7 @@

Functions

-
open fun ziplineCreated(zipline: Zipline)

Invoked when a Zipline is created, before any application code is loaded.

+
open fun ziplineCreated(zipline: Zipline)

Invoked when a Zipline is created, before any application code is loaded.

diff --git a/docs/latest/zipline/app.cash.zipline/-event-listener/initializer-end.html b/docs/latest/zipline/app.cash.zipline/-event-listener/initializer-end.html index b5b4f7693a..9ae24247d4 100644 --- a/docs/latest/zipline/app.cash.zipline/-event-listener/initializer-end.html +++ b/docs/latest/zipline/app.cash.zipline/-event-listener/initializer-end.html @@ -65,7 +65,7 @@

initializerEnd

-
open fun initializerEnd(zipline: Zipline, applicationName: String, startValue: Any?)(source)

Invoked when initializer is finished. Failure is not recorded separately as it is unrecoverable.

+
open fun initializerEnd(zipline: Zipline, applicationName: String, startValue: Any?)(source)

Invoked when initializer is finished. Failure is not recorded separately as it is unrecoverable.

-
open fun mainFunctionEnd(zipline: Zipline, applicationName: String, startValue: Any?)(source)

Invoked when mainFunction is finished. Failure is not recorded separately as it is unrecoverable.

+
open fun mainFunctionEnd(zipline: Zipline, applicationName: String, startValue: Any?)(source)

Invoked when mainFunction is finished. Failure is not recorded separately as it is unrecoverable.

-
open fun mainFunctionStart(zipline: Zipline, applicationName: String): Any?(source)

Invoked when mainFunction is run within the JS platform to start an application.

+
open fun mainFunctionStart(zipline: Zipline, applicationName: String): Any?(source)

Invoked when mainFunction is run within the JS platform to start an application.

-
open fun manifestParseFailed(applicationName: String, url: String?, exception: Exception)(source)

Invoked when the manifest couldn't be decoded as JSON. For example, this might occur if there's a captive portal on the network.

+
open fun manifestParseFailed(applicationName: String, url: String?, exception: Exception)(source)

Invoked when the manifest couldn't be decoded as JSON. For example, this might occur if there's a captive portal on the network.

-
open fun manifestReady(applicationName: String, manifestUrl: String?, manifest: ZiplineManifest)(source)

Invoked when the loader has successfully fetched a manifest, verified it (if necessary), and will proceed to download and load each of its modules.

+
open fun manifestReady(applicationName: String, manifestUrl: String?, manifest: ZiplineManifest)(source)

Invoked when the loader has successfully fetched a manifest, verified it (if necessary), and will proceed to download and load each of its modules.

-
open fun moduleLoadEnd(zipline: Zipline, moduleId: String, startValue: Any?)(source)

Invoked when a module load completes.

Parameters

startValue

the value returned by moduleLoadStart for the start of this call. This is null unless moduleLoadStart is overridden to return something else.

+
open fun moduleLoadEnd(zipline: Zipline, moduleId: String, startValue: Any?)(source)

Invoked when a module load completes.

Parameters

startValue

the value returned by moduleLoadStart for the start of this call. This is null unless moduleLoadStart is overridden to return something else.

-
open fun moduleLoadStart(zipline: Zipline, moduleId: String): Any?(source)

Invoked when a module load starts. This is the process of loading code into QuickJS.

Return

any object. This value will be passed back to moduleLoadEnd when the call is completed. The base function always returns null.

+
open fun moduleLoadStart(zipline: Zipline, moduleId: String): Any?(source)

Invoked when a module load starts. This is the process of loading code into QuickJS.

Return

any object. This value will be passed back to moduleLoadEnd when the call is completed. The base function always returns null.

-
open fun serviceLeaked(zipline: Zipline, name: String)(source)

Invoked when a service is garbage collected without being closed.

Note that this method may be invoked after ziplineClosed.

+
open fun serviceLeaked(zipline: Zipline, name: String)(source)

Invoked when a service is garbage collected without being closed.

Note that this method may be invoked after ziplineClosed.

-
open fun takeService(zipline: Zipline, name: String, service: ZiplineService)(source)

Invoked when something calls Zipline.take, or a service is received via an API.

+
open fun takeService(zipline: Zipline, name: String, service: ZiplineService)(source)

Invoked when something calls Zipline.take, or a service is received via an API.

-
open fun ziplineClosed(zipline: Zipline)(source)

Invoked when a Zipline is closed. Unless otherwise noted, other methods on this interface will not be invoked after this.

+
open fun ziplineClosed(zipline: Zipline)(source)

Invoked when a Zipline is closed. Unless otherwise noted, other methods on this interface will not be invoked after this.

diff --git a/docs/latest/zipline/app.cash.zipline/-interrupt-handler/poll.html b/docs/latest/zipline/app.cash.zipline/-interrupt-handler/poll.html index d9a8a94276..f8ff1a4942 100644 --- a/docs/latest/zipline/app.cash.zipline/-interrupt-handler/poll.html +++ b/docs/latest/zipline/app.cash.zipline/-interrupt-handler/poll.html @@ -65,7 +65,7 @@

poll

-
abstract fun poll(): Boolean(source)

This function is called back frequently during code execution to detect asynchronous interruptions. Operations performed on the QuickJs during interruption are not themselves subject to interruption.

Return

true to halt execution of JavaScript with an error.

+
abstract fun poll(): Boolean(source)

This function is called back frequently during code execution to detect asynchronous interruptions. Operations performed on the QuickJs during interruption are not themselves subject to interruption.

Return

true to halt execution of JavaScript with an error.

-

Arrays.

+

Arrays.

-

Atoms.

+

Atoms.

-
+
-

Binary objects.

+

Binary objects.

+
-

C functions.

+

C functions.

-

Fast arrays.

+

Fast arrays.

@@ -121,7 +121,7 @@

Properties

-

Atoms.

+

Atoms.

@@ -138,7 +138,7 @@

Properties

-
+
@@ -155,7 +155,7 @@

Properties

-

Binary objects.

+

Binary objects.

@@ -172,7 +172,7 @@

Properties

@@ -189,7 +189,7 @@

Properties

-

C functions.

+

C functions.

@@ -206,7 +206,7 @@

Properties

-

Fast arrays.

+

Fast arrays.

@@ -223,7 +223,7 @@

Properties

@@ -240,7 +240,7 @@

Properties

@@ -257,7 +257,7 @@

Properties

-

Bytecode functions.

+

Bytecode functions.

@@ -274,7 +274,7 @@

Properties

@@ -291,7 +291,7 @@

Properties

@@ -308,7 +308,7 @@

Properties

@@ -325,7 +325,7 @@

Properties

-

Memory allocated.

+

Memory allocated.

@@ -342,7 +342,7 @@

Properties

@@ -359,7 +359,7 @@

Properties

@@ -376,7 +376,7 @@

Properties

-

Memory used.

+

Memory used.

@@ -393,7 +393,7 @@

Properties

@@ -410,7 +410,7 @@

Properties

-

Objects.

+

Objects.

@@ -427,7 +427,7 @@

Properties

-
+
@@ -444,7 +444,7 @@

Properties

-

Properties.

+

Properties.

@@ -461,7 +461,7 @@

Properties

@@ -478,7 +478,7 @@

Properties

-

Shapes.

+

Shapes.

@@ -495,7 +495,7 @@

Properties

-
+
@@ -512,7 +512,7 @@

Properties

-

Strings.

+

Strings.

@@ -529,7 +529,7 @@

Properties

-
+
diff --git a/docs/latest/zipline/app.cash.zipline/-memory-usage/js-functions-code-size.html b/docs/latest/zipline/app.cash.zipline/-memory-usage/js-functions-code-size.html index 82fcda2b55..887ea2759b 100644 --- a/docs/latest/zipline/app.cash.zipline/-memory-usage/js-functions-code-size.html +++ b/docs/latest/zipline/app.cash.zipline/-memory-usage/js-functions-code-size.html @@ -65,7 +65,7 @@

jsFunctionsCode +
-

Bytecode functions.

+

Bytecode functions.

+
-

Memory used.

+

Memory used.

-
+
-

Objects.

+

Objects.

-
+
-

Shapes.

+

Shapes.

-
+
-

Strings.

+

Strings.

-
+ @@ -123,7 +123,7 @@

Properties

-
open val message: String?
open val message: String?
open val message: String?
+
open val message: String?
open val message: String?
open val message: String?
diff --git a/docs/latest/zipline/app.cash.zipline/-quick-js/-companion/create.html b/docs/latest/zipline/app.cash.zipline/-quick-js/-companion/create.html index 494574cae8..201effb3d0 100644 --- a/docs/latest/zipline/app.cash.zipline/-quick-js/-companion/create.html +++ b/docs/latest/zipline/app.cash.zipline/-quick-js/-companion/create.html @@ -67,7 +67,7 @@

create

-
expect fun create(): QuickJs(source)

Create a new interpreter instance. Calls to this method must matched with calls to close on the returned instance to avoid leaking native memory.

actual fun create(): QuickJs(source)

Create a new interpreter instance. Calls to this method must matched with calls to close on the returned instance to avoid leaking native memory.

actual fun create(): QuickJs(source)
+
expect fun create(): QuickJs(source)

Create a new interpreter instance. Calls to this method must matched with calls to close on the returned instance to avoid leaking native memory.

actual fun create(): QuickJs(source)

Create a new interpreter instance. Calls to this method must matched with calls to close on the returned instance to avoid leaking native memory.

actual fun create(): QuickJs(source)
@@ -106,7 +106,7 @@

Functions

-
expect fun create(): QuickJs

Create a new interpreter instance. Calls to this method must matched with calls to close on the returned instance to avoid leaking native memory.

actual fun create(): QuickJs

Create a new interpreter instance. Calls to this method must matched with calls to close on the returned instance to avoid leaking native memory.

actual fun create(): QuickJs
+
expect fun create(): QuickJs

Create a new interpreter instance. Calls to this method must matched with calls to close on the returned instance to avoid leaking native memory.

actual fun create(): QuickJs

Create a new interpreter instance. Calls to this method must matched with calls to close on the returned instance to avoid leaking native memory.

actual fun create(): QuickJs
diff --git a/docs/latest/zipline/app.cash.zipline/-quick-js/-companion/version.html b/docs/latest/zipline/app.cash.zipline/-quick-js/-companion/version.html index f4ab099896..dcb6a1dafe 100644 --- a/docs/latest/zipline/app.cash.zipline/-quick-js/-companion/version.html +++ b/docs/latest/zipline/app.cash.zipline/-quick-js/-companion/version.html @@ -67,7 +67,7 @@

version

-
expect val version: String(source)
actual val version: String(source)
actual val version: String(source)
+
expect val version: String(source)
actual val version: String(source)
actual val version: String(source)
-
expect fun close()(source)
actual open fun close()(source)
actual fun close()(source)
+
expect fun close()(source)
actual open fun close()(source)
actual fun close()(source)
-
expect fun compile(sourceCode: String, fileName: String): ByteArray(source)

Compile sourceCode and return the bytecode. fileName will be used in error reporting.

Throws

if the sourceCode could not be compiled.

actual fun compile(sourceCode: String, fileName: String): ByteArray(source)

Compile sourceCode and return the bytecode. fileName will be used in error reporting.

Throws

if the sourceCode could not be compiled.

actual fun compile(sourceCode: String, fileName: String): ByteArray(source)
+
expect fun compile(sourceCode: String, fileName: String): ByteArray(source)

Compile sourceCode and return the bytecode. fileName will be used in error reporting.

Throws

if the sourceCode could not be compiled.

actual fun compile(sourceCode: String, fileName: String): ByteArray(source)

Compile sourceCode and return the bytecode. fileName will be used in error reporting.

Throws

if the sourceCode could not be compiled.

actual fun compile(sourceCode: String, fileName: String): ByteArray(source)
-
expect fun evaluate(script: String, fileName: String = "?"): Any?(source)

Evaluate script and return any result. fileName will be used in error reporting.

Throws

if there is an error evaluating the script.

actual fun evaluate(script: String, fileName: String): Any?(source)

Evaluate script and return any result. fileName will be used in error reporting.

Throws

if there is an error evaluating the script.

actual fun evaluate(script: String, fileName: String): Any?(source)
+
expect fun evaluate(script: String, fileName: String = "?"): Any?(source)

Evaluate script and return any result. fileName will be used in error reporting.

Throws

if there is an error evaluating the script.

actual fun evaluate(script: String, fileName: String): Any?(source)

Evaluate script and return any result. fileName will be used in error reporting.

Throws

if there is an error evaluating the script.

actual fun evaluate(script: String, fileName: String): Any?(source)
-
expect fun execute(bytecode: ByteArray): Any?(source)

Load and execute bytecode and return the result.

Throws

if there is an error loading or executing the code.

actual fun execute(bytecode: ByteArray): Any?(source)

Load and execute bytecode and return the result.

Throws

if there is an error loading or executing the code.

actual fun execute(bytecode: ByteArray): Any?(source)
+
expect fun execute(bytecode: ByteArray): Any?(source)

Load and execute bytecode and return the result.

Throws

if there is an error loading or executing the code.

actual fun execute(bytecode: ByteArray): Any?(source)

Load and execute bytecode and return the result.

Throws

if there is an error loading or executing the code.

actual fun execute(bytecode: ByteArray): Any?(source)
-
protected fun finalize()(source)
+
protected fun finalize()(source)
-
expect var gcThreshold: Long(source)

Default is 256 KiB. Use -1 to disable automatic GC.

actual var gcThreshold: Long(source)

Default is 256 KiB. Use -1 to disable automatic GC.

actual var gcThreshold: Long(source)

Default is 256 KiB. Use -1 to disable automatic GC.

+
expect var gcThreshold: Long(source)

Default is 256 KiB. Use -1 to disable automatic GC.

actual var gcThreshold: Long(source)

Default is 256 KiB. Use -1 to disable automatic GC.

actual var gcThreshold: Long(source)

Default is 256 KiB. Use -1 to disable automatic GC.

-
expect fun gc()(source)

Manually invoke cycle removal. This is intended for testing only and is never necessary to call in regular execution.

actual fun gc()(source)
actual fun gc()(source)
+
expect fun gc()(source)

Manually invoke cycle removal. This is intended for testing only and is never necessary to call in regular execution.

actual fun gc()(source)
actual fun gc()(source)
@@ -123,7 +123,7 @@

Properties

-

The interrupt handler is polled frequently during code execution.

The interrupt handler is polled frequently during code execution.

+

The interrupt handler is polled frequently during code execution.

The interrupt handler is polled frequently during code execution.

@@ -140,7 +140,7 @@

Properties

-
expect var maxStackSize: Long

Default is 512 KiB. Use 0 to disable the maximum stack size check.

actual var maxStackSize: Long

Default is 512 KiB. Use 0 to disable the maximum stack size check.

actual var maxStackSize: Long

Default is 512 KiB. Use 0 to disable the maximum stack size check.

+
expect var maxStackSize: Long

Default is 512 KiB. Use 0 to disable the maximum stack size check.

actual var maxStackSize: Long

Default is 512 KiB. Use 0 to disable the maximum stack size check.

actual var maxStackSize: Long

Default is 512 KiB. Use 0 to disable the maximum stack size check.

@@ -157,7 +157,7 @@

Properties

-
expect var memoryLimit: Long

Default is -1. Use -1 for no limit.

actual var memoryLimit: Long

Default is -1. Use -1 for no limit.

actual var memoryLimit: Long

Default is -1. Use -1 for no limit.

+
expect var memoryLimit: Long

Default is -1. Use -1 for no limit.

actual var memoryLimit: Long

Default is -1. Use -1 for no limit.

actual var memoryLimit: Long

Default is -1. Use -1 for no limit.

@@ -174,7 +174,7 @@

Properties

-

Memory usage statistics for the JavaScript engine.

Memory usage statistics for the JavaScript engine.

Memory usage statistics for the JavaScript engine.

+

Memory usage statistics for the JavaScript engine.

Memory usage statistics for the JavaScript engine.

Memory usage statistics for the JavaScript engine.

@@ -195,7 +195,7 @@

Functions

-
expect fun close()
actual open fun close()
actual fun close()
+
expect fun close()
actual open fun close()
actual fun close()
@@ -212,7 +212,7 @@

Functions

-
expect fun compile(sourceCode: String, fileName: String): ByteArray

Compile sourceCode and return the bytecode. fileName will be used in error reporting.

actual fun compile(sourceCode: String, fileName: String): ByteArray

Compile sourceCode and return the bytecode. fileName will be used in error reporting.

actual fun compile(sourceCode: String, fileName: String): ByteArray
+
expect fun compile(sourceCode: String, fileName: String): ByteArray

Compile sourceCode and return the bytecode. fileName will be used in error reporting.

actual fun compile(sourceCode: String, fileName: String): ByteArray

Compile sourceCode and return the bytecode. fileName will be used in error reporting.

actual fun compile(sourceCode: String, fileName: String): ByteArray
@@ -229,7 +229,7 @@

Functions

-
expect fun evaluate(script: String, fileName: String = "?"): Any?

Evaluate script and return any result. fileName will be used in error reporting.

actual fun evaluate(script: String, fileName: String): Any?

Evaluate script and return any result. fileName will be used in error reporting.

actual fun evaluate(script: String, fileName: String): Any?
+
expect fun evaluate(script: String, fileName: String = "?"): Any?

Evaluate script and return any result. fileName will be used in error reporting.

actual fun evaluate(script: String, fileName: String): Any?

Evaluate script and return any result. fileName will be used in error reporting.

actual fun evaluate(script: String, fileName: String): Any?
@@ -246,7 +246,7 @@

Functions

-
expect fun execute(bytecode: ByteArray): Any?

Load and execute bytecode and return the result.

actual fun execute(bytecode: ByteArray): Any?

Load and execute bytecode and return the result.

actual fun execute(bytecode: ByteArray): Any?
+
expect fun execute(bytecode: ByteArray): Any?

Load and execute bytecode and return the result.

actual fun execute(bytecode: ByteArray): Any?

Load and execute bytecode and return the result.

actual fun execute(bytecode: ByteArray): Any?
@@ -263,7 +263,7 @@

Functions

-
protected fun finalize()
+
protected fun finalize()
@@ -280,7 +280,7 @@

Functions

-
expect fun gc()

Manually invoke cycle removal. This is intended for testing only and is never necessary to call in regular execution.

actual fun gc()
actual fun gc()
+
expect fun gc()

Manually invoke cycle removal. This is intended for testing only and is never necessary to call in regular execution.

actual fun gc()
actual fun gc()
diff --git a/docs/latest/zipline/app.cash.zipline/-quick-js/interrupt-handler.html b/docs/latest/zipline/app.cash.zipline/-quick-js/interrupt-handler.html index 240a3aa721..7ec2e8e21c 100644 --- a/docs/latest/zipline/app.cash.zipline/-quick-js/interrupt-handler.html +++ b/docs/latest/zipline/app.cash.zipline/-quick-js/interrupt-handler.html @@ -67,7 +67,7 @@

interruptHandler
-

The interrupt handler is polled frequently during code execution.

Using any interrupt handler may have a significant performance cost. Use a null handler for best performance.

The interrupt handler is polled frequently during code execution.

Using any interrupt handler may have a significant performance cost. Use a null handler for best performance.

+

The interrupt handler is polled frequently during code execution.

Using any interrupt handler may have a significant performance cost. Use a null handler for best performance.

The interrupt handler is polled frequently during code execution.

Using any interrupt handler may have a significant performance cost. Use a null handler for best performance.

-
expect var memoryLimit: Long(source)

Default is -1. Use -1 for no limit.

actual var memoryLimit: Long(source)

Default is -1. Use -1 for no limit.

actual var memoryLimit: Long(source)

Default is -1. Use -1 for no limit.

+
expect var memoryLimit: Long(source)

Default is -1. Use -1 for no limit.

actual var memoryLimit: Long(source)

Default is -1. Use -1 for no limit.

actual var memoryLimit: Long(source)

Default is -1. Use -1 for no limit.

-

Memory usage statistics for the JavaScript engine.

Memory usage statistics for the JavaScript engine.

Memory usage statistics for the JavaScript engine.

+

Memory usage statistics for the JavaScript engine.

Memory usage statistics for the JavaScript engine.

Memory usage statistics for the JavaScript engine.

-
open val cause: Throwable?
+
open val cause: Throwable?
diff --git a/docs/latest/zipline/app.cash.zipline/-zipline-exception/index.html b/docs/latest/zipline/app.cash.zipline/-zipline-exception/index.html index d516424511..b66c17fda7 100644 --- a/docs/latest/zipline/app.cash.zipline/-zipline-exception/index.html +++ b/docs/latest/zipline/app.cash.zipline/-zipline-exception/index.html @@ -98,7 +98,7 @@

Properties

-
open val cause: Throwable?
+
open val cause: Throwable?
@@ -113,7 +113,7 @@

Properties

-
open val message: String?
+
open val message: String?
diff --git a/docs/latest/zipline/app.cash.zipline/-zipline-function/id.html b/docs/latest/zipline/app.cash.zipline/-zipline-function/id.html index c928f321d1..0fceef9c77 100644 --- a/docs/latest/zipline/app.cash.zipline/-zipline-function/id.html +++ b/docs/latest/zipline/app.cash.zipline/-zipline-function/id.html @@ -63,7 +63,7 @@

id

-
abstract val id: String(source)

A unique id for this function. By default this is the first 6 bytes of the SHA-256 of the function's signature, base64-encoded.

These are sample values that correspond to the sample values in signature.

  • "PnpfScGS"

  • "TTdM8O+x"

  • "o+Bha3Rq"

  • "qr+8pXgn"

+
abstract val id: String(source)

A unique id for this function. By default this is the first 6 bytes of the SHA-256 of the function's signature, base64-encoded.

These are sample values that correspond to the sample values in signature.

  • "PnpfScGS"

  • "TTdM8O+x"

  • "o+Bha3Rq"

  • "qr+8pXgn"

@@ -94,7 +94,7 @@

Properties

-
abstract val isClose: Boolean

True if this function is ZiplineService.close.

+
abstract val isClose: Boolean

True if this function is ZiplineService.close.

@@ -109,7 +109,7 @@

Properties

-
abstract val isSuspending: Boolean

True if this function completes asynchronously.

+
abstract val isSuspending: Boolean

True if this function completes asynchronously.

@@ -124,7 +124,7 @@

Properties

-
abstract val signature: String

Returns a string that uniquely identifies this function. Parameter names are omitted. Parameter types are fully-qualified.

+
abstract val signature: String

Returns a string that uniquely identifies this function. Parameter names are omitted. Parameter types are fully-qualified.

diff --git a/docs/latest/zipline/app.cash.zipline/-zipline-function/is-close.html b/docs/latest/zipline/app.cash.zipline/-zipline-function/is-close.html index 58a36c8853..99bcc2e2af 100644 --- a/docs/latest/zipline/app.cash.zipline/-zipline-function/is-close.html +++ b/docs/latest/zipline/app.cash.zipline/-zipline-function/is-close.html @@ -63,7 +63,7 @@

isClose

-
abstract val isClose: Boolean(source)

True if this function is ZiplineService.close.

+
abstract val isClose: Boolean(source)

True if this function is ZiplineService.close.

-
fun create(modules: Map<String, ZiplineManifest.Module>, mainFunction: String? = null, mainModuleId: String? = null, version: String? = null, builtAtEpochMs: Long? = null, baseUrl: String? = null, metadata: Map<String, String> = mapOf()): ZiplineManifest(source)
+
fun create(modules: Map<String, ZiplineManifest.Module>, mainFunction: String? = null, mainModuleId: String? = null, version: String? = null, builtAtEpochMs: Long? = null, baseUrl: String? = null, metadata: Map<String, String> = mapOf()): ZiplineManifest(source)
-
+
@@ -100,7 +100,7 @@

Functions

+
diff --git a/docs/latest/zipline/app.cash.zipline/-zipline-manifest/-module/-module.html b/docs/latest/zipline/app.cash.zipline/-zipline-manifest/-module/-module.html index fccedfbbc1..758ac5be5e 100644 --- a/docs/latest/zipline/app.cash.zipline/-zipline-manifest/-module/-module.html +++ b/docs/latest/zipline/app.cash.zipline/-zipline-manifest/-module/-module.html @@ -65,7 +65,7 @@

Module

-
constructor(url: String, sha256: ByteString, dependsOnIds: List<String> = listOf())(source)
+
constructor(url: String, sha256: ByteString, dependsOnIds: List<String> = listOf())(source)
@@ -83,7 +83,7 @@

Constructors

-
constructor(url: String, sha256: ByteString, dependsOnIds: List<String> = listOf())
+
constructor(url: String, sha256: ByteString, dependsOnIds: List<String> = listOf())
@@ -104,7 +104,7 @@

Properties

-
+
@@ -121,7 +121,7 @@

Properties

-
@Serializable(with = ByteStringAsHexSerializer::class)
val sha256: ByteString
+
@Serializable(with = ByteStringAsHexSerializer::class)
val sha256: ByteString
@@ -138,7 +138,7 @@

Properties

-
val url: String

This may be an absolute URL, or relative to an enclosing manifest.

+
val url: String

This may be an absolute URL, or relative to an enclosing manifest.

diff --git a/docs/latest/zipline/app.cash.zipline/-zipline-manifest/-module/sha256.html b/docs/latest/zipline/app.cash.zipline/-zipline-manifest/-module/sha256.html index dc8e37eab2..0fa45433d8 100644 --- a/docs/latest/zipline/app.cash.zipline/-zipline-manifest/-module/sha256.html +++ b/docs/latest/zipline/app.cash.zipline/-zipline-manifest/-module/sha256.html @@ -65,7 +65,7 @@

sha256

-
@Serializable(with = ByteStringAsHexSerializer::class)
val sha256: ByteString(source)
+
@Serializable(with = ByteStringAsHexSerializer::class)
val sha256: ByteString(source)
-

This may be an absolute URL, or relative to an enclosing manifest.

+

This may be an absolute URL, or relative to an enclosing manifest.

-
constructor(signatures: Map<String, String> = mapOf(), freshAtEpochMs: Long? = null, baseUrl: String? = null)(source)
+
constructor(signatures: Map<String, String> = mapOf(), freshAtEpochMs: Long? = null, baseUrl: String? = null)(source)
-
val baseUrl: String? = null(source)

Optional URL to resolve module URLs against when downloading. If null, module URLs are relative to the URL that this manifest was loaded from.

This is unsigned so that cached manifests may be updated to track the URL that they were originally fetched from.

+
val baseUrl: String? = null(source)

Optional URL to resolve module URLs against when downloading. If null, module URLs are relative to the URL that this manifest was loaded from.

This is unsigned so that cached manifests may be updated to track the URL that they were originally fetched from.

-
val freshAtEpochMs: Long? = null(source)

The newest timestamp that this manifest is known to be fresh. Typically, a manifest is fresh at the moment it is downloaded. If this field is null the caller should determine freshness independently.

This is unsigned so that embedded manifests may be updated to track the time they were downloaded at.

+
val freshAtEpochMs: Long? = null(source)

The newest timestamp that this manifest is known to be fresh. Typically, a manifest is fresh at the moment it is downloaded. If this field is null the caller should determine freshness independently.

This is unsigned so that embedded manifests may be updated to track the time they were downloaded at.

@@ -83,7 +83,7 @@

Constructors

-
constructor(signatures: Map<String, String> = mapOf(), freshAtEpochMs: Long? = null, baseUrl: String? = null)
+
constructor(signatures: Map<String, String> = mapOf(), freshAtEpochMs: Long? = null, baseUrl: String? = null)
@@ -104,7 +104,7 @@

Properties

-
val baseUrl: String? = null

Optional URL to resolve module URLs against when downloading. If null, module URLs are relative to the URL that this manifest was loaded from.

+
val baseUrl: String? = null

Optional URL to resolve module URLs against when downloading. If null, module URLs are relative to the URL that this manifest was loaded from.

@@ -121,7 +121,7 @@

Properties

-
val freshAtEpochMs: Long? = null

The newest timestamp that this manifest is known to be fresh. Typically, a manifest is fresh at the moment it is downloaded. If this field is null the caller should determine freshness independently.

+
val freshAtEpochMs: Long? = null

The newest timestamp that this manifest is known to be fresh. Typically, a manifest is fresh at the moment it is downloaded. If this field is null the caller should determine freshness independently.

@@ -138,7 +138,7 @@

Properties

-

A manifest may include many signatures, in order of preference. The keys of the map are the signing key names. The values of the map are hex-encoded signatures.

+

A manifest may include many signatures, in order of preference. The keys of the map are the signing key names. The values of the map are hex-encoded signatures.

diff --git a/docs/latest/zipline/app.cash.zipline/-zipline-manifest/-unsigned/signatures.html b/docs/latest/zipline/app.cash.zipline/-zipline-manifest/-unsigned/signatures.html index 95839e8599..be0bda9d5e 100644 --- a/docs/latest/zipline/app.cash.zipline/-zipline-manifest/-unsigned/signatures.html +++ b/docs/latest/zipline/app.cash.zipline/-zipline-manifest/-unsigned/signatures.html @@ -65,7 +65,7 @@

signatures

-

A manifest may include many signatures, in order of preference. The keys of the map are the signing key names. The values of the map are hex-encoded signatures.

This is unsigned to solve a chicken-egg problem: we can't sign the output of the signature.

+

A manifest may include many signatures, in order of preference. The keys of the map are the signing key names. The values of the map are hex-encoded signatures.

This is unsigned to solve a chicken-egg problem: we can't sign the output of the signature.

-
+
-
fun copy(signatures: Map<String, String> = this.signatures, freshAtEpochMs: Long? = this.freshAtEpochMs, baseUrl: String? = this.baseUrl, modules: Map<String, ZiplineManifest.Module> = this.modules, mainModuleId: String = this.mainModuleId, mainFunction: String? = this.mainFunction, version: String? = this.version, metadata: Map<String, String> = this.metadata): ZiplineManifest(source)
+
fun copy(signatures: Map<String, String> = this.signatures, freshAtEpochMs: Long? = this.freshAtEpochMs, baseUrl: String? = this.baseUrl, modules: Map<String, ZiplineManifest.Module> = this.modules, mainModuleId: String = this.mainModuleId, mainFunction: String? = this.mainFunction, version: String? = this.version, metadata: Map<String, String> = this.metadata): ZiplineManifest(source)
-
+
-
+
@@ -117,7 +117,7 @@

Types

-
@Serializable
data class Unsigned(val signatures: Map<String, String> = mapOf(), val freshAtEpochMs: Long? = null, val baseUrl: String? = null)

Properties of this manifest not authenticated by a signature. We prefer to define properties in the top-level manifest wherever possible.

+
@Serializable
data class Unsigned(val signatures: Map<String, String> = mapOf(), val freshAtEpochMs: Long? = null, val baseUrl: String? = null)

Properties of this manifest not authenticated by a signature. We prefer to define properties in the top-level manifest wherever possible.

@@ -138,7 +138,7 @@

Properties

-
+
@@ -155,7 +155,7 @@

Properties

-
+
@@ -172,7 +172,7 @@

Properties

-
val mainFunction: String? = null

Fully qualified main function to start the application (ie. "zipline.ziplineMain").

+
val mainFunction: String? = null

Fully qualified main function to start the application (ie. "zipline.ziplineMain").

@@ -189,7 +189,7 @@

Properties

-

JS module ID for the application (ie. "./alpha-app.js"). This will usually be the last module in the manifest once it is topologically sorted.

+

JS module ID for the application (ie. "./alpha-app.js"). This will usually be the last module in the manifest once it is topologically sorted.

@@ -206,7 +206,7 @@

Properties

-

Arbitrary application-layer metadata about this release. Use this to embed build or diagnostic metadata, such as the timestamp that this application was built.

+

Arbitrary application-layer metadata about this release. Use this to embed build or diagnostic metadata, such as the timestamp that this application was built.

@@ -223,7 +223,7 @@

Properties

-

This is an ordered map; its modules are always topologically sorted.

+

This is an ordered map; its modules are always topologically sorted.

@@ -240,7 +240,7 @@

Properties

-
val signaturePayload: ByteString

Returns a byte string representation of this manifest appropriate for signing and signature verification. The encoding omits data not covered by signing and is deterministically-encoded.

+
val signaturePayload: ByteString

Returns a byte string representation of this manifest appropriate for signing and signature verification. The encoding omits data not covered by signing and is deterministically-encoded.

@@ -257,7 +257,7 @@

Properties

-
+
@@ -274,7 +274,7 @@

Properties

-

Metadata on this manifest that isn't authenticated by a signature.

+

Metadata on this manifest that isn't authenticated by a signature.

@@ -291,7 +291,7 @@

Properties

-
val version: String? = null

Version to represent the code as defined in this manifest, by default it will be Git commit SHA.

+
val version: String? = null

Version to represent the code as defined in this manifest, by default it will be Git commit SHA.

@@ -312,7 +312,7 @@

Functions

-
fun copy(signatures: Map<String, String> = this.signatures, freshAtEpochMs: Long? = this.freshAtEpochMs, baseUrl: String? = this.baseUrl, modules: Map<String, ZiplineManifest.Module> = this.modules, mainModuleId: String = this.mainModuleId, mainFunction: String? = this.mainFunction, version: String? = this.version, metadata: Map<String, String> = this.metadata): ZiplineManifest
+
fun copy(signatures: Map<String, String> = this.signatures, freshAtEpochMs: Long? = this.freshAtEpochMs, baseUrl: String? = this.baseUrl, modules: Map<String, ZiplineManifest.Module> = this.modules, mainModuleId: String = this.mainModuleId, mainFunction: String? = this.mainFunction, version: String? = this.version, metadata: Map<String, String> = this.metadata): ZiplineManifest
@@ -329,7 +329,7 @@

Functions

-
+
diff --git a/docs/latest/zipline/app.cash.zipline/-zipline-manifest/main-function.html b/docs/latest/zipline/app.cash.zipline/-zipline-manifest/main-function.html index 620e8b5ad8..0f42dfefe0 100644 --- a/docs/latest/zipline/app.cash.zipline/-zipline-manifest/main-function.html +++ b/docs/latest/zipline/app.cash.zipline/-zipline-manifest/main-function.html @@ -65,7 +65,7 @@

mainFunction

-
val mainFunction: String? = null(source)

Fully qualified main function to start the application (ie. "zipline.ziplineMain").

+
val mainFunction: String? = null(source)

Fully qualified main function to start the application (ie. "zipline.ziplineMain").

-

Arbitrary application-layer metadata about this release. Use this to embed build or diagnostic metadata, such as the timestamp that this application was built.

+

Arbitrary application-layer metadata about this release. Use this to embed build or diagnostic metadata, such as the timestamp that this application was built.

-

This is an ordered map; its modules are always topologically sorted.

+

This is an ordered map; its modules are always topologically sorted.

-
+
-

Metadata on this manifest that isn't authenticated by a signature.

+

Metadata on this manifest that isn't authenticated by a signature.

-
val version: String? = null(source)

Version to represent the code as defined in this manifest, by default it will be Git commit SHA.

+
val version: String? = null(source)

Version to represent the code as defined in this manifest, by default it will be Git commit SHA.

diff --git a/docs/latest/zipline/app.cash.zipline/-zipline-scoped/index.html b/docs/latest/zipline/app.cash.zipline/-zipline-scoped/index.html index 192b926e57..226733f8bd 100644 --- a/docs/latest/zipline/app.cash.zipline/-zipline-scoped/index.html +++ b/docs/latest/zipline/app.cash.zipline/-zipline-scoped/index.html @@ -79,7 +79,7 @@

Properties

-
abstract val scope: ZiplineScope

Returns the scope that will be used for services passed as parameters to this service. Note that the declaring service is not added to this scope.

+
abstract val scope: ZiplineScope

Returns the scope that will be used for services passed as parameters to this service. Note that the declaring service is not added to this scope.

diff --git a/docs/latest/zipline/app.cash.zipline/-zipline-scoped/scope.html b/docs/latest/zipline/app.cash.zipline/-zipline-scoped/scope.html index c1f84f1b89..3e816faa0b 100644 --- a/docs/latest/zipline/app.cash.zipline/-zipline-scoped/scope.html +++ b/docs/latest/zipline/app.cash.zipline/-zipline-scoped/scope.html @@ -63,7 +63,7 @@

scope

-
abstract val scope: ZiplineScope(source)

Returns the scope that will be used for services passed as parameters to this service. Note that the declaring service is not added to this scope.

+
abstract val scope: ZiplineScope(source)

Returns the scope that will be used for services passed as parameters to this service. Note that the declaring service is not added to this scope.

@@ -94,7 +94,7 @@

Properties

-
abstract val name: String
+
abstract val name: String
diff --git a/docs/latest/zipline/app.cash.zipline/-zipline-service-type/name.html b/docs/latest/zipline/app.cash.zipline/-zipline-service-type/name.html index 9dc7fdff67..935e3f1d10 100644 --- a/docs/latest/zipline/app.cash.zipline/-zipline-service-type/name.html +++ b/docs/latest/zipline/app.cash.zipline/-zipline-service-type/name.html @@ -63,7 +63,7 @@

name

-
abstract val name: String(source)
+
abstract val name: String(source)
-
open fun close()
+
open fun close()
diff --git a/docs/latest/zipline/app.cash.zipline/-zipline/[host]-companion/create.html b/docs/latest/zipline/app.cash.zipline/-zipline/[host]-companion/create.html index 162cda9747..8898934dd3 100644 --- a/docs/latest/zipline/app.cash.zipline/-zipline/[host]-companion/create.html +++ b/docs/latest/zipline/app.cash.zipline/-zipline/[host]-companion/create.html @@ -65,7 +65,7 @@

create

-
fun create(dispatcher: CoroutineDispatcher, serializersModule: SerializersModule = EmptySerializersModule(), eventListener: EventListener = EventListener.NONE): Zipline(source)
+
fun create(dispatcher: CoroutineDispatcher, serializersModule: SerializersModule = EmptySerializersModule(), eventListener: EventListener = EventListener.NONE): Zipline(source)
diff --git a/docs/latest/zipline/app.cash.zipline/-zipline/[js]-companion/get.html b/docs/latest/zipline/app.cash.zipline/-zipline/[js]-companion/get.html index 323c846d73..f9ae6cf1ff 100644 --- a/docs/latest/zipline/app.cash.zipline/-zipline/[js]-companion/get.html +++ b/docs/latest/zipline/app.cash.zipline/-zipline/[js]-companion/get.html @@ -65,7 +65,7 @@

get

-
fun get(serializersModule: SerializersModule = EmptySerializersModule()): Zipline(source)
+
fun get(serializersModule: SerializersModule = EmptySerializersModule()): Zipline(source)
diff --git a/docs/latest/zipline/app.cash.zipline/-zipline/bind.html b/docs/latest/zipline/app.cash.zipline/-zipline/bind.html index 9af1fd6a5e..27e07572ad 100644 --- a/docs/latest/zipline/app.cash.zipline/-zipline/bind.html +++ b/docs/latest/zipline/app.cash.zipline/-zipline/bind.html @@ -67,7 +67,7 @@

bind

-
expect fun <T : ZiplineService> bind(name: String, instance: T)(source)
actual fun <T : ZiplineService> bind(name: String, instance: T)(source)
actual fun <T : ZiplineService> bind(name: String, instance: T)(source)
+
expect fun <T : ZiplineService> bind(name: String, instance: T)(source)
actual fun <T : ZiplineService> bind(name: String, instance: T)(source)
actual fun <T : ZiplineService> bind(name: String, instance: T)(source)
-
fun close()(source)

Release resources held by this instance. It is an error to do any of the following after calling close:

+
fun close()(source)

Release resources held by this instance. It is an error to do any of the following after calling close:

-
+
@@ -123,7 +123,7 @@

Properties

-
expect val json: Json

The JSON codec for exchanging messages with the other endpoint.

actual val json: Json
actual val json: Json
+
expect val json: Json

The JSON codec for exchanging messages with the other endpoint.

actual val json: Json
actual val json: Json
@@ -140,7 +140,7 @@

Properties

-
+
@@ -161,7 +161,7 @@

Functions

-
expect fun <T : ZiplineService> bind(name: String, instance: T)
actual fun <T : ZiplineService> bind(name: String, instance: T)
actual fun <T : ZiplineService> bind(name: String, instance: T)
+
expect fun <T : ZiplineService> bind(name: String, instance: T)
actual fun <T : ZiplineService> bind(name: String, instance: T)
actual fun <T : ZiplineService> bind(name: String, instance: T)
@@ -178,7 +178,7 @@

Functions

-
fun close()

Release resources held by this instance. It is an error to do any of the following after calling close:

+
fun close()

Release resources held by this instance. It is an error to do any of the following after calling close:

@@ -195,7 +195,7 @@

Functions

-
fun loadJsModule(bytecode: ByteArray, id: String)
fun loadJsModule(script: String, id: String)
+
fun loadJsModule(bytecode: ByteArray, id: String)
fun loadJsModule(script: String, id: String)
@@ -212,7 +212,7 @@

Functions

-
expect fun <T : ZiplineService> take(name: String, scope: ZiplineScope = ZiplineScope()): T
actual fun <T : ZiplineService> take(name: String, scope: ZiplineScope): T
actual fun <T : ZiplineService> take(name: String, scope: ZiplineScope): T
+
expect fun <T : ZiplineService> take(name: String, scope: ZiplineScope = ZiplineScope()): T
actual fun <T : ZiplineService> take(name: String, scope: ZiplineScope): T
actual fun <T : ZiplineService> take(name: String, scope: ZiplineScope): T
diff --git a/docs/latest/zipline/app.cash.zipline/-zipline/json.html b/docs/latest/zipline/app.cash.zipline/-zipline/json.html index 005243528a..cab8a1a101 100644 --- a/docs/latest/zipline/app.cash.zipline/-zipline/json.html +++ b/docs/latest/zipline/app.cash.zipline/-zipline/json.html @@ -67,7 +67,7 @@

json

-
expect val json: Json(source)

The JSON codec for exchanging messages with the other endpoint.

This instance supports encoding ZiplineService implementations can be passed by reference when partnered with ziplineServiceSerializer.

actual val json: Json(source)
actual val json: Json(source)
+
expect val json: Json(source)

The JSON codec for exchanging messages with the other endpoint.

This instance supports encoding ZiplineService implementations can be passed by reference when partnered with ziplineServiceSerializer.

actual val json: Json(source)
actual val json: Json(source)
-
+
-
expect fun <T : ZiplineService> take(name: String, scope: ZiplineScope = ZiplineScope()): T(source)
actual fun <T : ZiplineService> take(name: String, scope: ZiplineScope): T(source)
actual fun <T : ZiplineService> take(name: String, scope: ZiplineScope): T(source)
+
expect fun <T : ZiplineService> take(name: String, scope: ZiplineScope = ZiplineScope()): T(source)
actual fun <T : ZiplineService> take(name: String, scope: ZiplineScope): T(source)
actual fun <T : ZiplineService> take(name: String, scope: ZiplineScope): T(source)
-
class Call(val serviceName: String, val service: ZiplineService, val function: ZiplineFunction<*>, val args: List<*>, val encodedCall: String, serviceNames: List<String>)

A single invocation of a function declared on a ZiplineService.

+
class Call(val serviceName: String, val service: ZiplineService, val function: ZiplineFunction<*>, val args: List<*>, val encodedCall: String, serviceNames: List<String>)

A single invocation of a function declared on a ZiplineService.

@@ -97,7 +97,7 @@

Types

-
class CallResult(val result: Result<*>, val encodedResult: String, serviceNames: List<String>)

The result of a Call.

+
class CallResult(val result: Result<*>, val encodedResult: String, serviceNames: List<String>)

The result of a Call.

@@ -261,7 +261,7 @@

Types

-

A function defined on an interface that extends ZiplineService and that may be bridged.

+

A function defined on an interface that extends ZiplineService and that may be bridged.

@@ -338,7 +338,7 @@

Types

@@ -348,7 +348,7 @@

Types

Properties

-
+
@@ -357,7 +357,7 @@

Properties

-

Returns the type of this service as described by the peer. Returns null if this service isn't an outbound service, if it is closed, or if it is unknown to the remote peer.

+

Returns the type of this service as described by the peer. Returns null if this service isn't an outbound service, if it is closed, or if it is unknown to the remote peer.

@@ -376,7 +376,7 @@

Functions

-

Returns a service that shares the same target object as this, but that uses scope to manage closing returned services.

+

Returns a service that shares the same target object as this, but that uses scope to manage closing returned services.

@@ -391,7 +391,7 @@

Functions

-
fun <T : ZiplineService> ziplineServiceSerializer(): KSerializer<T>

Returns a KSerializer for T that performs pass-by-reference instead of pass-by-value. This is only necessary when a service is passed as a member of another serializable type; Zipline automatically does pass-by-reference for service parameters and return values.

fun <T : ZiplineService> ziplineServiceSerializer(kClass: KClass<*>, typeArgumentsSerializers: List<KSerializer<*>> = emptyList()): KSerializer<T>

Returns a KSerializer for T that performs pass-by-reference instead of pass-by-value. Use this when implementing contextual serialization for a parameterized type.

+
fun <T : ZiplineService> ziplineServiceSerializer(): KSerializer<T>

Returns a KSerializer for T that performs pass-by-reference instead of pass-by-value. This is only necessary when a service is passed as a member of another serializable type; Zipline automatically does pass-by-reference for service parameters and return values.

fun <T : ZiplineService> ziplineServiceSerializer(kClass: KClass<*>, typeArgumentsSerializers: List<KSerializer<*>> = emptyList()): KSerializer<T>

Returns a KSerializer for T that performs pass-by-reference instead of pass-by-value. Use this when implementing contextual serialization for a parameterized type.

diff --git a/docs/latest/zipline/app.cash.zipline/target-type.html b/docs/latest/zipline/app.cash.zipline/target-type.html index 38e38a7590..11064650c8 100644 --- a/docs/latest/zipline/app.cash.zipline/target-type.html +++ b/docs/latest/zipline/app.cash.zipline/target-type.html @@ -63,7 +63,7 @@

targetType

-

Returns the type of this service as described by the peer. Returns null if this service isn't an outbound service, if it is closed, or if it is unknown to the remote peer.

+

Returns the type of this service as described by the peer. Returns null if this service isn't an outbound service, if it is closed, or if it is unknown to the remote peer.