-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 24b6b30
Showing
113 changed files
with
58,948 additions
and
0 deletions.
There are no files selected for viewing
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 @@ | ||
fluxor.dev |
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,308 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>PrintInterceptor Class Reference</title> | ||
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> | ||
<link rel="stylesheet" type="text/css" href="../css/highlight.css" /> | ||
<meta charset='utf-8'> | ||
<script src="../js/jquery.min.js" defer></script> | ||
<script src="../js/jazzy.js" defer></script> | ||
<link rel="stylesheet" type="text/css" href="css/fluxor.css"> | ||
<script src="../js/lunr.min.js" defer></script> | ||
<script src="../js/typeahead.jquery.js" defer></script> | ||
<script src="../js/jazzy.search.js" defer></script> | ||
</head> | ||
<body> | ||
<a name="//apple_ref/swift/Class/PrintInterceptor" class="dashAnchor"></a> | ||
<a title="PrintInterceptor Class Reference"></a> | ||
<header> | ||
<div class="content-wrapper"> | ||
<p><a href="../index.html">Fluxor Docs</a> (100% documented)</p> | ||
<p class="header-right"><a href="https://github.com/FluxorOrg/Fluxor"><img src="../img/gh.png" alt="GitHub"/>View on GitHub</a></p> | ||
<div class="header-right"> | ||
<form role="search" action="../search.json"> | ||
<input type="text" placeholder="Search documentation" data-typeahead> | ||
</form> | ||
</div> | ||
</div> | ||
</header> | ||
<div class="content-wrapper"> | ||
<p id="breadcrumbs"> | ||
<a href="../index.html">Fluxor Reference</a> | ||
<img id="carat" src="../img/carat.png" alt=""/> | ||
PrintInterceptor Class Reference | ||
</p> | ||
</div> | ||
<div class="content-wrapper"> | ||
<nav class="sidebar"> | ||
<ul class="nav-groups"> | ||
<li class="nav-group-name"> | ||
<a href="../Guides.html">Guides</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../testing-reducers.html">Testing Reducers</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../testing-selectors.html">Testing Selectors</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../testing-effects.html">Testing Effects</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-group-name"> | ||
<a href="../Store.html">Store</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/Store.html">Store</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-group-name"> | ||
<a href="../Actions.html">Actions</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../Actions.html#/s:6Fluxor6ActionP">Action</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Structs/ActionTemplate.html">ActionTemplate</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Structs/AnonymousAction.html">AnonymousAction</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Protocols/EncodableAction.html">EncodableAction</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Protocols/IdentifiableAction.html">IdentifiableAction</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-group-name"> | ||
<a href="../Reducers.html">Reducers</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../Structs/Reducer.html">Reducer</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Structs/ReduceOn.html">ReduceOn</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-group-name"> | ||
<a href="../Selectors.html">Selectors</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../Protocols/SelectorProtocol.html">SelectorProtocol</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/Selector.html">Selector</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/Selector1.html">Selector1</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/Selector2.html">Selector2</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/Selector3.html">Selector3</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/Selector4.html">Selector4</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/Selector5.html">Selector5</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-group-name"> | ||
<a href="../Effects.html">Effects</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../Protocols/Effects.html">Effects</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Enums/Effect.html">Effect</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-group-name"> | ||
<a href="../Extensions.html">Extensions</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../Extensions/Publisher.html">Publisher</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-group-name"> | ||
<a href="../Debugging.html">Debugging</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../Protocols/Interceptor.html">Interceptor</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/PrintInterceptor.html">PrintInterceptor</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-group-name"> | ||
<a href="../Using%20Fluxor%20with%20SwiftUI.html">Using Fluxor with SwiftUI</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../Structs/StoreValue.html">StoreValue</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-group-name"> | ||
<a href="../Test%20Support.html">Test Support</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/MockStore.html">MockStore</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Structs/EffectRunner.html">EffectRunner</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/TestInterceptor.html">TestInterceptor</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/TestInterceptor/WaitingError.html">– WaitingError</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-group-name"> | ||
<a href="../Other%20Extensions.html">Other Extensions</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../Other%20Extensions.html#/s:17FluxorTestSupport14ActionRecorder33_2D843C61F3562D9AD97CFFB7DBB0B69FLLC">ActionRecorder</a> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</nav> | ||
<article class="main-content"> | ||
<section> | ||
<section class="section"> | ||
<h1>PrintInterceptor</h1> | ||
<div class="declaration"> | ||
<div class="language"> | ||
|
||
<pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">PrintInterceptor</span><span class="o"><</span><span class="kt">State</span><span class="o">></span> <span class="p">:</span> <span class="kt"><a href="../Protocols/Interceptor.html">Interceptor</a></span> <span class="k">where</span> <span class="kt">State</span> <span class="p">:</span> <span class="kt">Encodable</span></code></pre> | ||
|
||
</div> | ||
</div> | ||
<p>A <code><a href="../Protocols/Interceptor.html">Interceptor</a></code> to use when debugging. Every <code><a href="../Actions.html#/s:6Fluxor6ActionP">Action</a></code>s and <code>State</code> change are printed to the console.</p> | ||
|
||
</section> | ||
<section class="section task-group-section"> | ||
<div class="task-group"> | ||
<ul> | ||
<li class="item"> | ||
<div> | ||
<code> | ||
<a name="/s:6Fluxor16PrintInterceptorCACyxGycfc"></a> | ||
<a name="//apple_ref/swift/Method/init()" class="dashAnchor"></a> | ||
<a class="token" href="#/s:6Fluxor16PrintInterceptorCACyxGycfc">init()</a> | ||
</code> | ||
</div> | ||
<div class="height-container"> | ||
<div class="pointer-container"></div> | ||
<section class="section"> | ||
<div class="pointer"></div> | ||
<div class="abstract"> | ||
<p>Initializes the <code>PrintInterceptor</code>.</p> | ||
|
||
</div> | ||
<div class="declaration"> | ||
<h4>Declaration</h4> | ||
<div class="language"> | ||
<p class="aside-title">Swift</p> | ||
<pre class="highlight swift"><code><span class="kd">public</span> <span class="n">convenience</span> <span class="nf">init</span><span class="p">()</span></code></pre> | ||
|
||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
</li> | ||
<li class="item"> | ||
<div> | ||
<code> | ||
<a name="/s:6Fluxor16PrintInterceptorC16actionDispatched0D08oldState03newG0yAA6Action_p_xxtF"></a> | ||
<a name="//apple_ref/swift/Method/actionDispatched(action:oldState:newState:)" class="dashAnchor"></a> | ||
<a class="token" href="#/s:6Fluxor16PrintInterceptorC16actionDispatched0D08oldState03newG0yAA6Action_p_xxtF">actionDispatched(action:<wbr>oldState:<wbr>newState:<wbr>)</a> | ||
</code> | ||
</div> | ||
<div class="height-container"> | ||
<div class="pointer-container"></div> | ||
<section class="section"> | ||
<div class="pointer"></div> | ||
<div class="abstract"> | ||
<p>The function called when an <code><a href="../Actions.html#/s:6Fluxor6ActionP">Action</a></code> is dispatched on a <code><a href="../Classes/Store.html">Store</a></code>.</p> | ||
|
||
</div> | ||
<div class="declaration"> | ||
<h4>Declaration</h4> | ||
<div class="language"> | ||
<p class="aside-title">Swift</p> | ||
<pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">actionDispatched</span><span class="p">(</span><span class="nv">action</span><span class="p">:</span> <span class="kt"><a href="../Actions.html#/s:6Fluxor6ActionP">Action</a></span><span class="p">,</span> <span class="nv">oldState</span><span class="p">:</span> <span class="kt">State</span><span class="p">,</span> <span class="nv">newState</span><span class="p">:</span> <span class="kt">State</span><span class="p">)</span></code></pre> | ||
|
||
</div> | ||
</div> | ||
<div> | ||
<h4>Parameters</h4> | ||
<table class="graybox"> | ||
<tbody> | ||
<tr> | ||
<td> | ||
<code> | ||
<em>action</em> | ||
</code> | ||
</td> | ||
<td> | ||
<div> | ||
<p>The <code><a href="../Actions.html#/s:6Fluxor6ActionP">Action</a></code> dispatched</p> | ||
</div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<code> | ||
<em>oldState</em> | ||
</code> | ||
</td> | ||
<td> | ||
<div> | ||
<p>The <code>State</code> before the <code><a href="../Actions.html#/s:6Fluxor6ActionP">Action</a></code> was dispatched</p> | ||
</div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<code> | ||
<em>newState</em> | ||
</code> | ||
</td> | ||
<td> | ||
<div> | ||
<p>The <code>State</code> after the <code><a href="../Actions.html#/s:6Fluxor6ActionP">Action</a></code> was dispatched</p> | ||
</div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</section> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</section> | ||
</section> | ||
<section id="footer"> | ||
<p>© 2021 under <a class="link" href="https://github.com/FluxorOrg/Fluxor/blob/master/LICENSE" target="_blank" rel="external noopener">open source license</a>.</p> | ||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p> | ||
</section> | ||
</article> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.