-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ b9b24b6 🚀
- Loading branch information
0 parents
commit 160e727
Showing
1,214 changed files
with
3,686 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
0.1.0/css/documentation-topic~topic~tutorials-overview.82acfe22.css
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"primaryContentSections":[{"kind":"content","content":[{"anchor":"Overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"Clock"},{"type":"text","text":" protocol in provides a powerful abstraction for time-based asynchrony in Swift’s"},{"type":"text","text":" "},{"type":"text","text":"structured concurrency. With just a single "},{"type":"codeVoice","code":"sleep"},{"type":"text","text":" method you can express many powerful async"},{"type":"text","text":" "},{"type":"text","text":"operators, such as timers, "},{"type":"codeVoice","code":"debounce"},{"type":"text","text":", "},{"type":"codeVoice","code":"throttle"},{"type":"text","text":", "},{"type":"codeVoice","code":"timeout"},{"type":"text","text":" and more (see"},{"type":"text","text":" "},{"type":"reference","isActive":true,"identifier":"http:\/\/github.com\/apple\/swift-async-algorithms"},{"type":"text","text":")."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"However, the moment you use a concrete clock in your asynchronous code, or use "},{"type":"codeVoice","code":"Task.sleep"},{"type":"text","text":" "},{"type":"text","text":"directly, you instantly lose the ability to easily test and preview your features, forcing you to"},{"type":"text","text":" "},{"type":"text","text":"wait for real world time to pass to see how your feature works."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"This library provides new "},{"type":"codeVoice","code":"Clock"},{"type":"text","text":" conformances ("},{"type":"codeVoice","code":"TestClock"},{"type":"text","text":", "},{"type":"codeVoice","code":"ImmediateClock"},{"type":"text","text":" and"},{"type":"text","text":" "},{"type":"codeVoice","code":"UnimplementedClock"},{"type":"text","text":") that allow you to turn any time-based asynchronous code into something that"},{"type":"text","text":" "},{"type":"text","text":"is easier to test and debug."}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/clocks"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Clocks\/documentation\/Clocks","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"A few clocks that make working with Swift concurrency more testable and more versatile."}],"kind":"symbol","metadata":{"roleHeading":"Framework","externalID":"Clocks","title":"Clocks","symbolKind":"module","role":"collection","modules":[{"name":"Clocks"}]},"hierarchy":{"paths":[[]]},"references":{"http://github.com/apple/swift-async-algorithms":{"title":"swift-async-algorithms","titleInlineContent":[{"type":"text","text":"swift-async-algorithms"}],"type":"link","identifier":"http:\/\/github.com\/apple\/swift-async-algorithms","url":"http:\/\/github.com\/apple\/swift-async-algorithms"},"doc://Clocks/documentation/Clocks":{"role":"collection","title":"Clocks","abstract":[{"type":"text","text":"A few clocks that make working with Swift concurrency more testable and more versatile."}],"identifier":"doc:\/\/Clocks\/documentation\/Clocks","kind":"symbol","type":"topic","url":"\/documentation\/clocks"}}} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover"><link rel="icon" href="/swift-clocks/0.1.0/favicon.ico"><link rel="mask-icon" href="/swift-clocks/0.1.0/favicon.svg" color="#333333"><title>Documentation</title><script>var baseUrl = "/swift-clocks/0.1.0/"</script><link href="/swift-clocks/0.1.0/css/documentation-topic.3bca6578.css" rel="prefetch"><link href="/swift-clocks/0.1.0/css/documentation-topic~topic~tutorials-overview.82acfe22.css" rel="prefetch"><link href="/swift-clocks/0.1.0/css/topic.ee15af52.css" rel="prefetch"><link href="/swift-clocks/0.1.0/css/tutorials-overview.06e8bcf7.css" rel="prefetch"><link href="/swift-clocks/0.1.0/js/chunk-2d0d3105.cd72cc8e.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/documentation-topic.f62098b6.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/documentation-topic~topic~tutorials-overview.8e36e44f.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-bash.1b52852f.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-c.d1db3f17.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-cpp.eaddddbe.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-css.75eab1fe.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-custom-markdown.7cffc4b3.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-custom-swift.5cda5c20.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-diff.62d66733.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-http.163e45b6.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-java.8326d9d8.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-javascript.acb8a8eb.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-json.471128d2.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-llvm.6100b125.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-markdown.90077643.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-objectivec.bcdf5156.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-perl.757d7b6f.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-php.cc8d6c27.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-python.c214ed92.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-ruby.f889d392.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-scss.62ee18da.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-shell.dd7f411f.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-swift.84f3e88c.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-xml.9c3688c7.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/topic.6a1c7b7f.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/tutorials-overview.c8178b83.js" rel="prefetch"><link href="/swift-clocks/0.1.0/css/index.12bb178a.css" rel="preload" as="style"><link href="/swift-clocks/0.1.0/js/chunk-vendors.b24b7aaa.js" rel="preload" as="script"><link href="/swift-clocks/0.1.0/js/index.58e30ec4.js" rel="preload" as="script"><link href="/swift-clocks/0.1.0/css/index.12bb178a.css" rel="stylesheet"></head><body data-color-scheme="auto"><noscript><style>.noscript{font-family:"SF Pro Display","SF Pro Icons","Helvetica Neue",Helvetica,Arial,sans-serif;margin:92px auto 140px auto;text-align:center;width:980px}.noscript-title{color:#111;font-size:48px;font-weight:600;letter-spacing:-.003em;line-height:1.08365;margin:0 auto 54px auto;width:502px}@media only screen and (max-width:1068px){.noscript{margin:90px auto 120px auto;width:692px}.noscript-title{font-size:40px;letter-spacing:0;line-height:1.1;margin:0 auto 45px auto;width:420px}}@media only screen and (max-width:735px){.noscript{margin:45px auto 60px auto;width:87.5%}.noscript-title{font-size:32px;letter-spacing:.004em;line-height:1.125;margin:0 auto 35px auto;max-width:330px;width:auto}}#loading-placeholder{display:none}</style><div class="noscript"><h1 class="noscript-title">This page requires JavaScript.</h1><p>Please turn on JavaScript in your browser and refresh the page to view its content.</p></div></noscript><div id="app"></div><script src="/swift-clocks/0.1.0/js/chunk-vendors.b24b7aaa.js"></script><script src="/swift-clocks/0.1.0/js/index.58e30ec4.js"></script></body></html> |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover"><link rel="icon" href="/swift-clocks/0.1.0/favicon.ico"><link rel="mask-icon" href="/swift-clocks/0.1.0/favicon.svg" color="#333333"><title>Documentation</title><script>var baseUrl = "/swift-clocks/0.1.0/"</script><link href="/swift-clocks/0.1.0/css/documentation-topic.3bca6578.css" rel="prefetch"><link href="/swift-clocks/0.1.0/css/documentation-topic~topic~tutorials-overview.82acfe22.css" rel="prefetch"><link href="/swift-clocks/0.1.0/css/topic.ee15af52.css" rel="prefetch"><link href="/swift-clocks/0.1.0/css/tutorials-overview.06e8bcf7.css" rel="prefetch"><link href="/swift-clocks/0.1.0/js/chunk-2d0d3105.cd72cc8e.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/documentation-topic.f62098b6.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/documentation-topic~topic~tutorials-overview.8e36e44f.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-bash.1b52852f.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-c.d1db3f17.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-cpp.eaddddbe.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-css.75eab1fe.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-custom-markdown.7cffc4b3.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-custom-swift.5cda5c20.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-diff.62d66733.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-http.163e45b6.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-java.8326d9d8.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-javascript.acb8a8eb.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-json.471128d2.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-llvm.6100b125.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-markdown.90077643.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-objectivec.bcdf5156.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-perl.757d7b6f.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-php.cc8d6c27.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-python.c214ed92.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-ruby.f889d392.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-scss.62ee18da.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-shell.dd7f411f.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-swift.84f3e88c.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/highlight-js-xml.9c3688c7.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/topic.6a1c7b7f.js" rel="prefetch"><link href="/swift-clocks/0.1.0/js/tutorials-overview.c8178b83.js" rel="prefetch"><link href="/swift-clocks/0.1.0/css/index.12bb178a.css" rel="preload" as="style"><link href="/swift-clocks/0.1.0/js/chunk-vendors.b24b7aaa.js" rel="preload" as="script"><link href="/swift-clocks/0.1.0/js/index.58e30ec4.js" rel="preload" as="script"><link href="/swift-clocks/0.1.0/css/index.12bb178a.css" rel="stylesheet"></head><body data-color-scheme="auto"><noscript><style>.noscript{font-family:"SF Pro Display","SF Pro Icons","Helvetica Neue",Helvetica,Arial,sans-serif;margin:92px auto 140px auto;text-align:center;width:980px}.noscript-title{color:#111;font-size:48px;font-weight:600;letter-spacing:-.003em;line-height:1.08365;margin:0 auto 54px auto;width:502px}@media only screen and (max-width:1068px){.noscript{margin:90px auto 120px auto;width:692px}.noscript-title{font-size:40px;letter-spacing:0;line-height:1.1;margin:0 auto 45px auto;width:420px}}@media only screen and (max-width:735px){.noscript{margin:45px auto 60px auto;width:87.5%}.noscript-title{font-size:32px;letter-spacing:.004em;line-height:1.125;margin:0 auto 35px auto;max-width:330px;width:auto}}#loading-placeholder{display:none}</style><div class="noscript"><h1 class="noscript-title">This page requires JavaScript.</h1><p>Please turn on JavaScript in your browser and refresh the page to view its content.</p></div></noscript><div id="app"></div><script src="/swift-clocks/0.1.0/js/chunk-vendors.b24b7aaa.js"></script><script src="/swift-clocks/0.1.0/js/index.58e30ec4.js"></script></body></html> |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"interfaceLanguages":{"swift":[{"path":"\/documentation\/clocks","title":"Clocks","type":"module"}]},"schemaVersion":{"major":0,"minor":1,"patch":0}} |
Binary file not shown.
Oops, something went wrong.