Skip to content

Commit

Permalink
updated docs for version 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
funyin committed Dec 3, 2023
1 parent cce1e42 commit 58a3af1
Show file tree
Hide file tree
Showing 16 changed files with 86 additions and 90 deletions.
34 changes: 17 additions & 17 deletions site/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@



<link rel="icon" href="/Kronos/0.0.2/assets/images/favicon.png">
<link rel="icon" href="/Kronos/0.0.3/assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.4.14">


Expand All @@ -20,10 +20,10 @@



<link rel="stylesheet" href="/Kronos/0.0.2/assets/stylesheets/main.fad675c6.min.css">
<link rel="stylesheet" href="/Kronos/0.0.3/assets/stylesheets/main.fad675c6.min.css">


<link rel="stylesheet" href="/Kronos/0.0.2/assets/stylesheets/palette.356b1318.min.css">
<link rel="stylesheet" href="/Kronos/0.0.3/assets/stylesheets/palette.356b1318.min.css">



Expand All @@ -42,7 +42,7 @@



<script>__md_scope=new URL("/Kronos/0.0.2",location),__md_hash=e=>[...e].reduce((e,_)=>(e<<5)-e+_.charCodeAt(0),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>
<script>__md_scope=new URL("/Kronos/0.0.3",location),__md_hash=e=>[...e].reduce((e,_)=>(e<<5)-e+_.charCodeAt(0),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>



Expand Down Expand Up @@ -92,7 +92,7 @@

<header class="md-header md-header--shadow" data-md-component="header">
<nav class="md-header__inner md-grid" aria-label="Header">
<a href="/Kronos/0.0.2/." title="Kronos" class="md-header__button md-logo" aria-label="Kronos" data-md-component="logo">
<a href="/Kronos/0.0.3/." title="Kronos" class="md-header__button md-logo" aria-label="Kronos" data-md-component="logo">


<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54Z"/></svg>
Expand Down Expand Up @@ -200,7 +200,7 @@

<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
<label class="md-nav__title" for="__drawer">
<a href="/Kronos/0.0.2/." title="Kronos" class="md-nav__button md-logo" aria-label="Kronos" data-md-component="logo">
<a href="/Kronos/0.0.3/." title="Kronos" class="md-nav__button md-logo" aria-label="Kronos" data-md-component="logo">


<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54Z"/></svg>
Expand Down Expand Up @@ -230,7 +230,7 @@


<li class="md-nav__item">
<a href="/Kronos/0.0.2/." class="md-nav__link">
<a href="/Kronos/0.0.3/." class="md-nav__link">


<span class="md-ellipsis">
Expand All @@ -250,7 +250,7 @@


<li class="md-nav__item">
<a href="/Kronos/0.0.2/installation/" class="md-nav__link">
<a href="/Kronos/0.0.3/installation/" class="md-nav__link">


<span class="md-ellipsis">
Expand All @@ -270,7 +270,7 @@


<li class="md-nav__item">
<a href="/Kronos/0.0.2/quick_start/" class="md-nav__link">
<a href="/Kronos/0.0.3/quick_start/" class="md-nav__link">


<span class="md-ellipsis">
Expand Down Expand Up @@ -310,7 +310,7 @@



<a href="/Kronos/0.0.2/job/" class="md-nav__link">
<a href="/Kronos/0.0.3/job/" class="md-nav__link">


<span class="md-ellipsis">
Expand Down Expand Up @@ -356,7 +356,7 @@



<a href="/Kronos/0.0.2/schedule/" class="md-nav__link">
<a href="/Kronos/0.0.3/schedule/" class="md-nav__link">


<span class="md-ellipsis">
Expand All @@ -382,7 +382,7 @@


<li class="md-nav__item">
<a href="/Kronos/0.0.2/why_how/" class="md-nav__link">
<a href="/Kronos/0.0.3/why_how/" class="md-nav__link">


<span class="md-ellipsis">
Expand Down Expand Up @@ -420,7 +420,7 @@



<a href="/Kronos/0.0.2/examples/" class="md-nav__link">
<a href="/Kronos/0.0.3/examples/" class="md-nav__link">


<span class="md-ellipsis">
Expand Down Expand Up @@ -466,7 +466,7 @@


<li class="md-nav__item">
<a href="/Kronos/0.0.2/roadmap/" class="md-nav__link">
<a href="/Kronos/0.0.3/roadmap/" class="md-nav__link">


<span class="md-ellipsis">
Expand Down Expand Up @@ -506,7 +506,7 @@



<a href="/Kronos/0.0.2/community/" class="md-nav__link">
<a href="/Kronos/0.0.3/community/" class="md-nav__link">


<span class="md-ellipsis">
Expand Down Expand Up @@ -636,10 +636,10 @@ <h1>404 - Not found</h1>
</div>


<script id="__config" type="application/json">{"base": "/Kronos/0.0.2", "features": ["navigation.prune", "navigation.indexes", "navigation.path", "navigation.top", "search.suggest", "search.highlight", "content.action.edit", "content.code.copy", "navigation.footer"], "search": "/Kronos/0.0.2/assets/javascripts/workers/search.f886a092.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": {"default": "latest", "provider": "mike"}}</script>
<script id="__config" type="application/json">{"base": "/Kronos/0.0.3", "features": ["navigation.prune", "navigation.indexes", "navigation.path", "navigation.top", "search.suggest", "search.highlight", "content.action.edit", "content.code.copy", "navigation.footer"], "search": "/Kronos/0.0.3/assets/javascripts/workers/search.f886a092.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": {"default": "latest", "provider": "mike"}}</script>


<script src="/Kronos/0.0.2/assets/javascripts/bundle.cd18aaf1.min.js"></script>
<script src="/Kronos/0.0.3/assets/javascripts/bundle.cd18aaf1.min.js"></script>


</body>
Expand Down
8 changes: 4 additions & 4 deletions site/community/contributing/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@



<link rel="canonical" href="https://funyin.github.io/Kronos/0.0.2/community/contributing/">
<link rel="canonical" href="https://funyin.github.io/Kronos/0.0.3/community/contributing/">


<link rel="prev" href="../">
Expand Down Expand Up @@ -69,23 +69,23 @@

<meta property="og:description" content="None" >

<meta property="og:image" content="https://funyin.github.io/Kronos/0.0.2/assets/images/social/community/contributing.png" >
<meta property="og:image" content="https://funyin.github.io/Kronos/0.0.3/assets/images/social/community/contributing.png" >

<meta property="og:image:type" content="image/png" >

<meta property="og:image:width" content="1200" >

<meta property="og:image:height" content="630" >

<meta property="og:url" content="https://funyin.github.io/Kronos/0.0.2/community/contributing/" >
<meta property="og:url" content="https://funyin.github.io/Kronos/0.0.3/community/contributing/" >

<meta name="twitter:card" content="summary_large_image" >

<meta name="twitter:title" content="Contribute - Kronos" >

<meta name="twitter:description" content="None" >

<meta name="twitter:image" content="https://funyin.github.io/Kronos/0.0.2/assets/images/social/community/contributing.png" >
<meta name="twitter:image" content="https://funyin.github.io/Kronos/0.0.3/assets/images/social/community/contributing.png" >



Expand Down
8 changes: 4 additions & 4 deletions site/community/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@



<link rel="canonical" href="https://funyin.github.io/Kronos/0.0.2/community/">
<link rel="canonical" href="https://funyin.github.io/Kronos/0.0.3/community/">


<link rel="prev" href="../roadmap/">
Expand Down Expand Up @@ -71,23 +71,23 @@

<meta property="og:description" content="None" >

<meta property="og:image" content="https://funyin.github.io/Kronos/0.0.2/assets/images/social/community/index.png" >
<meta property="og:image" content="https://funyin.github.io/Kronos/0.0.3/assets/images/social/community/index.png" >

<meta property="og:image:type" content="image/png" >

<meta property="og:image:width" content="1200" >

<meta property="og:image:height" content="630" >

<meta property="og:url" content="https://funyin.github.io/Kronos/0.0.2/community/" >
<meta property="og:url" content="https://funyin.github.io/Kronos/0.0.3/community/" >

<meta name="twitter:card" content="summary_large_image" >

<meta name="twitter:title" content="Community - Kronos" >

<meta name="twitter:description" content="None" >

<meta name="twitter:image" content="https://funyin.github.io/Kronos/0.0.2/assets/images/social/community/index.png" >
<meta name="twitter:image" content="https://funyin.github.io/Kronos/0.0.3/assets/images/social/community/index.png" >



Expand Down
8 changes: 4 additions & 4 deletions site/examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@



<link rel="canonical" href="https://funyin.github.io/Kronos/0.0.2/examples/">
<link rel="canonical" href="https://funyin.github.io/Kronos/0.0.3/examples/">


<link rel="prev" href="../why_how/">
Expand Down Expand Up @@ -71,23 +71,23 @@

<meta property="og:description" content="None" >

<meta property="og:image" content="https://funyin.github.io/Kronos/0.0.2/assets/images/social/examples/index.png" >
<meta property="og:image" content="https://funyin.github.io/Kronos/0.0.3/assets/images/social/examples/index.png" >

<meta property="og:image:type" content="image/png" >

<meta property="og:image:width" content="1200" >

<meta property="og:image:height" content="630" >

<meta property="og:url" content="https://funyin.github.io/Kronos/0.0.2/examples/" >
<meta property="og:url" content="https://funyin.github.io/Kronos/0.0.3/examples/" >

<meta name="twitter:card" content="summary_large_image" >

<meta name="twitter:title" content="Index - Kronos" >

<meta name="twitter:description" content="None" >

<meta name="twitter:image" content="https://funyin.github.io/Kronos/0.0.2/assets/images/social/examples/index.png" >
<meta name="twitter:image" content="https://funyin.github.io/Kronos/0.0.3/assets/images/social/examples/index.png" >



Expand Down
17 changes: 8 additions & 9 deletions site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@



<link rel="canonical" href="https://funyin.github.io/Kronos/0.0.2/">
<link rel="canonical" href="https://funyin.github.io/Kronos/0.0.3/">



Expand Down Expand Up @@ -69,23 +69,23 @@

<meta property="og:description" content="None" >

<meta property="og:image" content="https://funyin.github.io/Kronos/0.0.2/assets/images/social/index.png" >
<meta property="og:image" content="https://funyin.github.io/Kronos/0.0.3/assets/images/social/index.png" >

<meta property="og:image:type" content="image/png" >

<meta property="og:image:width" content="1200" >

<meta property="og:image:height" content="630" >

<meta property="og:url" content="https://funyin.github.io/Kronos/0.0.2/" >
<meta property="og:url" content="https://funyin.github.io/Kronos/0.0.3/" >

<meta name="twitter:card" content="summary_large_image" >

<meta name="twitter:title" content="Overview" >

<meta name="twitter:description" content="None" >

<meta name="twitter:image" content="https://funyin.github.io/Kronos/0.0.2/assets/images/social/index.png" >
<meta name="twitter:image" content="https://funyin.github.io/Kronos/0.0.3/assets/images/social/index.png" >



Expand Down Expand Up @@ -671,12 +671,11 @@ <h1 id="overview">Overview</h1>
<p>Welcome to Kronos. The persistent job scheduling library for kotlin multiplatform.</p>
<h3 id="summary">Summary</h3>
<div class="highlight"><pre><span></span><code><span class="kd">suspend</span><span class="w"> </span><span class="kd">fun</span><span class="w"> </span><span class="nf">main</span><span class="p">()</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="kd">val</span><span class="w"> </span><span class="nv">mongoClient</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">MongoClient</span><span class="p">.</span><span class="na">create</span><span class="p">(</span><span class="s">&quot;mongodb://localhost:27017&quot;</span><span class="p">)</span>
<span class="w"> </span><span class="kd">val</span><span class="w"> </span><span class="nv">redisClient</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">RedisClient</span><span class="p">.</span><span class="na">create</span><span class="p">(</span><span class="s">&quot;redis://localhost:6379&quot;</span><span class="p">)</span>
<span class="w"> </span><span class="kd">val</span><span class="w"> </span><span class="nv">connection</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">redisClient</span><span class="p">.</span><span class="na">connect</span><span class="p">()</span>

<span class="w"> </span><span class="c1">//Initialize</span>
<span class="w"> </span><span class="n">Kronos</span><span class="p">.</span><span class="na">init</span><span class="p">(</span><span class="n">mongoClient</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">mongoClient</span><span class="p">,</span><span class="w"> </span><span class="n">redisConnection</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">connection</span><span class="p">)</span>
<span class="w"> </span><span class="n">Kronos</span><span class="p">.</span><span class="na">init</span><span class="p">(</span>
<span class="w"> </span><span class="n">mongoConnectionString</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">&quot;mongodb://localhost:27017&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="n">redisConnectionString</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">&quot;redis://localhost:6379&quot;</span>
<span class="w"> </span><span class="p">)</span>
<span class="w"> </span><span class="c1">//Register a Job</span>
<span class="w"> </span><span class="n">Kronos</span><span class="p">.</span><span class="na">register</span><span class="p">(</span><span class="n">SayHello</span><span class="p">)</span>
<span class="w"> </span><span class="c1">//Schedule a one time job</span>
Expand Down
Loading

0 comments on commit 58a3af1

Please sign in to comment.