Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/okikio/native. An initiative which aims to make it easy to create complex, light-weight, and perfor okikio.github.io/native
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897<!doctype html><html class="default no-js"><head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>ServiceManager | The Native Initiative</title> <meta name="description" content="Documentation for The Native Initiative"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../assets/css/main.css"> <script async src="../assets/js/search.js" id="search-script"></script></head><body><header> <div class="tsd-page-toolbar"> <div class="container"> <div class="table-wrap"> <div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base=".."> <div class="field"> <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label> <input id="tsd-search-field" type="text" /> </div> <ul class="results"> <li class="state loading">Preparing search index...</li> <li class="state failure">The search index is not available</li> </ul> <a href="../index.html" class="title">The Native Initiative</a> </div> <div class="table-cell" id="tsd-widgets"> <div id="tsd-filter"> <a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a> <div class="tsd-filter-group"> <div class="tsd-select" id="tsd-filter-visibility"> <span class="tsd-select-label">All</span> <ul class="tsd-select-list"> <li data-value="public">Public</li> <li data-value="protected">Public/Protected</li> <li data-value="private" class="selected">All</li> </ul> </div> <input type="checkbox" id="tsd-filter-inherited" checked /> <label class="tsd-widget" for="tsd-filter-inherited">Inherited</label> <input type="checkbox" id="tsd-filter-externals" checked /> <label class="tsd-widget" for="tsd-filter-externals">Externals</label> </div> </div> <a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a> </div> </div> </div> </div> <div class="tsd-page-title"> <div class="container"> <ul class="tsd-breadcrumb"> <li> <a href="../modules.html">The Native Initiative</a> </li> <li> <a href="../modules/_okikio_native.html">@okikio/native</a> </li> <li> <a href="_okikio_native.ServiceManager.html">ServiceManager</a> </li> </ul> <h1>Class ServiceManager</h1> </div> </div></header><div class="container container-main"> <div class="row"> <div class="col-8 col-content"> <section class="tsd-panel tsd-comment"> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>The Service Manager controls the lifecycle of all Services in an App</p> </div> </div> </section> <section class="tsd-panel tsd-hierarchy"> <h3>Hierarchy</h3> <ul class="tsd-hierarchy"> <li> <a href="_okikio_native.AdvancedManager.html" class="tsd-signature-type" data-tsd-kind="Class">AdvancedManager</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">></span> <ul class="tsd-hierarchy"> <li> <span class="target">ServiceManager</span> </li> </ul> </li> </ul> </section> <section class="tsd-panel-group tsd-index-group"> <h2>Index</h2> <section class="tsd-panel tsd-index-panel"> <div class="tsd-index-content"> <section class="tsd-index-section "> <h3>Constructors</h3> <ul class="tsd-index-list"> <li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="_okikio_native.ServiceManager.html#constructor" class="tsd-kind-icon">constructor</a></li> </ul> </section> <section class="tsd-index-section tsd-is-inherited"> <h3>Properties</h3> <ul class="tsd-index-list"> <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_okikio_native.ServiceManager.html#app" class="tsd-kind-icon">app</a></li> <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_okikio_native.ServiceManager.html#config" class="tsd-kind-icon">config</a></li> <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_okikio_native.ServiceManager.html#emitter" class="tsd-kind-icon">emitter</a></li> <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_okikio_native.ServiceManager.html#map" class="tsd-kind-icon">map</a></li> </ul> </section> <section class="tsd-index-section "> <h3>Accessors</h3> <ul class="tsd-index-list"> <li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"><a href="_okikio_native.ServiceManager.html#length" class="tsd-kind-icon">length</a></li> <li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"><a href="_okikio_native.ServiceManager.html#size" class="tsd-kind-icon">size</a></li> </ul> </section> <section class="tsd-index-section "> <h3>Methods</h3> <ul class="tsd-index-list"> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_okikio_native.ServiceManager.html#_iterator_" class="tsd-kind-icon">[iterator]</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_okikio_native.ServiceManager.html#add" class="tsd-kind-icon">add</a></li> <li class="tsd-kind-method tsd-parent-kind-class"><a href="_okikio_native.ServiceManager.html#boot" class="tsd-kind-icon">boot</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_okikio_native.ServiceManager.html#clear" class="tsd-kind-icon">clear</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_okikio_native.ServiceManager.html#delete" class="tsd-kind-icon">delete</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_okikio_native.ServiceManager.html#entries" class="tsd-kind-icon">entries</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_okikio_native.ServiceManager.html#forEach" class="tsd-kind-icon">for<wbr>Each</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_okikio_native.ServiceManager.html#get" class="tsd-kind-icon">get</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_okikio_native.ServiceManager.html#getMap" class="tsd-kind-icon">get<wbr>Map</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_okikio_native.ServiceManager.html#has" class="tsd-kind-icon">has</a></li> <li class="tsd-kind-method tsd-parent-kind-class"><a href="_okikio_native.ServiceManager.html#init" class="tsd-kind-icon">init</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_okikio_native.ServiceManager.html#keys" class="tsd-kind-icon">keys</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_okikio_native.ServiceManager.html#last" class="tsd-kind-icon">last</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_okikio_native.ServiceManager.html#remove" class="tsd-kind-icon">remove</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_okikio_native.ServiceManager.html#set" class="tsd-kind-icon">set</a></li> <li class="tsd-kind-method tsd-parent-kind-class"><a href="_okikio_native.ServiceManager.html#stop" class="tsd-kind-icon">stop</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_okikio_native.ServiceManager.html#values" class="tsd-kind-icon">values</a></li> </ul> </section> </div> </section> </section> <section class="tsd-panel-group tsd-member-group "> <h2>Constructors</h2> <section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"> <a name="constructor" class="tsd-anchor"></a> <h3>constructor</h3> <ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"> <li class="tsd-signature tsd-kind-icon">new <wbr>Service<wbr>Manager<span class="tsd-signature-symbol">(</span>app<span class="tsd-signature-symbol">: </span><a href="../interfaces/_okikio_native.IApp.html" class="tsd-signature-type" data-tsd-kind="Interface">IApp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_okikio_native.ServiceManager.html" class="tsd-signature-type" data-tsd-kind="Class">ServiceManager</a></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Overrides <a href="_okikio_native.AdvancedManager.html">AdvancedManager</a>.<a href="_okikio_native.AdvancedManager.html#constructor">constructor</a></p> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/native/src/service.ts#L31">native/src/service.ts:31</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Register App details</p> </div> </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>app: <a href="../interfaces/_okikio_native.IApp.html" class="tsd-signature-type" data-tsd-kind="Interface">IApp</a></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <a href="_okikio_native.ServiceManager.html" class="tsd-signature-type" data-tsd-kind="Class">ServiceManager</a></h4> </li> </ul> </section> </section> <section class="tsd-panel-group tsd-member-group tsd-is-inherited"> <h2>Properties</h2> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a name="app" class="tsd-anchor"></a> <h3>app</h3> <div class="tsd-signature tsd-kind-icon">app<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_okikio_native.IApp.html" class="tsd-signature-type" data-tsd-kind="Interface">IApp</a></div> <aside class="tsd-sources"> <p>Inherited from <a href="_okikio_native.AdvancedManager.html">AdvancedManager</a>.<a href="_okikio_native.AdvancedManager.html#app">app</a></p> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/native/src/manager.ts#L61">native/src/manager.ts:61</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>The App the AdvancedManager is attached to</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a name="config" class="tsd-anchor"></a> <h3>config</h3> <div class="tsd-signature tsd-kind-icon">config<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_okikio_native.ICONFIG.html" class="tsd-signature-type" data-tsd-kind="Interface">ICONFIG</a></div> <aside class="tsd-sources"> <p>Inherited from <a href="_okikio_native.AdvancedManager.html">AdvancedManager</a>.<a href="_okikio_native.AdvancedManager.html#config">config</a></p> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/native/src/manager.ts#L64">native/src/manager.ts:64</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>The Config of the App the AdvancedManager is attached to</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a name="emitter" class="tsd-anchor"></a> <h3>emitter</h3> <div class="tsd-signature tsd-kind-icon">emitter<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">EventEmitter</span></div> <aside class="tsd-sources"> <p>Inherited from <a href="_okikio_native.AdvancedManager.html">AdvancedManager</a>.<a href="_okikio_native.AdvancedManager.html#emitter">emitter</a></p> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/native/src/manager.ts#L67">native/src/manager.ts:67</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>The EventEmitter of the App the AdvancedManager is attached to</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a name="map" class="tsd-anchor"></a> <h3>map</h3> <div class="tsd-signature tsd-kind-icon">map<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">></span></div> <aside class="tsd-sources"> <p>Inherited from <a href="_okikio_native.AdvancedManager.html">AdvancedManager</a>.<a href="_okikio_native.AdvancedManager.html#map">map</a></p> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/manager/src/api.ts#L9">manager/src/api.ts:9</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>For backward compatability and performance reasons Manager use Map to store data</p> </div> </div> </section> </section> <section class="tsd-panel-group tsd-member-group "> <h2>Accessors</h2> <section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"> <a name="length" class="tsd-anchor"></a> <h3>length</h3> <ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> length<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/manager/src/api.ts#L55">manager/src/api.ts:55</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>An alias for size</p> </div> </div> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"> <a name="size" class="tsd-anchor"></a> <h3>size</h3> <ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> size<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/manager/src/api.ts#L50">manager/src/api.ts:50</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Returns the total number of items stored in the Manager</p> </div> </div> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4> </li> </ul> </section> </section> <section class="tsd-panel-group tsd-member-group "> <h2>Methods</h2> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a name="_iterator_" class="tsd-anchor"></a> <h3>[iterator]</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon">[iterator]<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Inherited from <a href="_okikio_native.AdvancedManager.html">AdvancedManager</a>.<a href="_okikio_native.AdvancedManager.html#_iterator_">[iterator]</a></p> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/manager/src/api.ts#L102">manager/src/api.ts:102</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Allows for iteration via for..of, learn more: [<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators%5D">https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators]</a></p> </div> </div> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a name="add" class="tsd-anchor"></a> <h3>add</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon">add<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_okikio_native.Manager.html" class="tsd-signature-type" data-tsd-kind="Class">Manager</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">></span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Inherited from <a href="_okikio_native.AdvancedManager.html">AdvancedManager</a>.<a href="_okikio_native.AdvancedManager.html#add">add</a></p> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/manager/src/api.ts#L41">manager/src/api.ts:41</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Adds a value to Manager, and uses the current size of the Manager as it's key, it works best when all the key in the Manager are numbers</p> </div> </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>value: <a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <a href="_okikio_native.Manager.html" class="tsd-signature-type" data-tsd-kind="Class">Manager</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">></span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="boot" class="tsd-anchor"></a> <h3>boot</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">boot<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_okikio_native.ServiceManager.html" class="tsd-signature-type" data-tsd-kind="Class">ServiceManager</a></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/native/src/service.ts#L42">native/src/service.ts:42</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Call the boot method for all Services</p> </div> </div> <h4 class="tsd-returns-title">Returns <a href="_okikio_native.ServiceManager.html" class="tsd-signature-type" data-tsd-kind="Class">ServiceManager</a></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a name="clear" class="tsd-anchor"></a> <h3>clear</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon">clear<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_okikio_native.Manager.html" class="tsd-signature-type" data-tsd-kind="Class">Manager</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">></span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Inherited from <a href="_okikio_native.AdvancedManager.html">AdvancedManager</a>.<a href="_okikio_native.AdvancedManager.html#clear">clear</a></p> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/manager/src/api.ts#L77">manager/src/api.ts:77</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Clear the Manager of all its contents</p> </div> </div> <h4 class="tsd-returns-title">Returns <a href="_okikio_native.Manager.html" class="tsd-signature-type" data-tsd-kind="Class">Manager</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">></span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a name="delete" class="tsd-anchor"></a> <h3>delete</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon">delete<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Inherited from <a href="_okikio_native.AdvancedManager.html">AdvancedManager</a>.<a href="_okikio_native.AdvancedManager.html#delete">delete</a></p> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/manager/src/api.ts#L66">manager/src/api.ts:66</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Removes a value stored in the Manager via a key, returns true if an element in the Map object existed and has been removed, or false if the element does not exist</p> </div> </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>key: <span class="tsd-signature-type">string</span></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a name="entries" class="tsd-anchor"></a> <h3>entries</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon">entries<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Inherited from <a href="_okikio_native.AdvancedManager.html">AdvancedManager</a>.<a href="_okikio_native.AdvancedManager.html#entries">entries</a></p> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/manager/src/api.ts#L88">manager/src/api.ts:88</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Returns a new Iterator object that contains an array of [key, value] for each element in the Map object in insertion order.</p> </div> </div> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a name="forEach" class="tsd-anchor"></a> <h3>for<wbr>Each</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon">for<wbr>Each<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">?: </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a>, key<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span>, map<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span>, context<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_okikio_native.Manager.html" class="tsd-signature-type" data-tsd-kind="Class">Manager</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">></span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Inherited from <a href="_okikio_native.AdvancedManager.html">AdvancedManager</a>.<a href="_okikio_native.AdvancedManager.html#forEach">forEach</a></p> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/manager/src/api.ts#L93">manager/src/api.ts:93</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Iterates through the Managers contents, calling a callback function every iteration</p> </div> </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>callback: <span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">?: </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a>, key<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span>, map<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></h5> <ul class="tsd-parameters"> <li class="tsd-parameter-signature"> <ul class="tsd-signatures tsd-kind-type-literal"> <li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">?: </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a>, key<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span>, map<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5><span class="tsd-flag ts-flagOptional">Optional</span> value: <a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a></h5> </li> <li> <h5><span class="tsd-flag ts-flagOptional">Optional</span> key: <span class="tsd-signature-type">string</span></h5> </li> <li> <h5><span class="tsd-flag ts-flagOptional">Optional</span> map: <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">></span></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4> </li> </ul> </li> </ul> </li> <li> <h5><span class="tsd-flag ts-flagOptional">Optional</span> context: <span class="tsd-signature-type">object</span></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <a href="_okikio_native.Manager.html" class="tsd-signature-type" data-tsd-kind="Class">Manager</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">></span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a name="get" class="tsd-anchor"></a> <h3>get</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon">get<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Inherited from <a href="_okikio_native.AdvancedManager.html">AdvancedManager</a>.<a href="_okikio_native.AdvancedManager.html#get">get</a></p> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/manager/src/api.ts#L20">manager/src/api.ts:20</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Get a value stored in the Manager</p> </div> </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>key: <span class="tsd-signature-type">string</span></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a name="getMap" class="tsd-anchor"></a> <h3>get<wbr>Map</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon">get<wbr>Map<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">></span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Inherited from <a href="_okikio_native.AdvancedManager.html">AdvancedManager</a>.<a href="_okikio_native.AdvancedManager.html#getMap">getMap</a></p> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/manager/src/api.ts#L15">manager/src/api.ts:15</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Returns the Manager classes base Map</p> </div> </div> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">></span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a name="has" class="tsd-anchor"></a> <h3>has</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon">has<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Inherited from <a href="_okikio_native.AdvancedManager.html">AdvancedManager</a>.<a href="_okikio_native.AdvancedManager.html#has">has</a></p> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/manager/src/api.ts#L83">manager/src/api.ts:83</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Checks if the Manager contains a certain key</p> </div> </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>key: <span class="tsd-signature-type">string</span></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="init" class="tsd-anchor"></a> <h3>init</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">init<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_okikio_native.ServiceManager.html" class="tsd-signature-type" data-tsd-kind="Class">ServiceManager</a></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/native/src/service.ts#L36">native/src/service.ts:36</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Call the init method for all Services</p> </div> </div> <h4 class="tsd-returns-title">Returns <a href="_okikio_native.ServiceManager.html" class="tsd-signature-type" data-tsd-kind="Class">ServiceManager</a></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a name="keys" class="tsd-anchor"></a> <h3>keys</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon">keys<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Inherited from <a href="_okikio_native.AdvancedManager.html">AdvancedManager</a>.<a href="_okikio_native.AdvancedManager.html#keys">keys</a></p> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/manager/src/api.ts#L25">manager/src/api.ts:25</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Returns the keys of all items stored in the Manager as an Array</p> </div> </div> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a name="last" class="tsd-anchor"></a> <h3>last</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon">last<span class="tsd-signature-symbol">(</span>distance<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Inherited from <a href="_okikio_native.AdvancedManager.html">AdvancedManager</a>.<a href="_okikio_native.AdvancedManager.html#last">last</a></p> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/manager/src/api.ts#L60">manager/src/api.ts:60</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Returns the last item in the Manager who's index is a certain distance from the last item in the Manager</p> </div> </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>distance: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a name="remove" class="tsd-anchor"></a> <h3>remove</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon">remove<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_okikio_native.Manager.html" class="tsd-signature-type" data-tsd-kind="Class">Manager</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">></span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Inherited from <a href="_okikio_native.AdvancedManager.html">AdvancedManager</a>.<a href="_okikio_native.AdvancedManager.html#remove">remove</a></p> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/manager/src/api.ts#L71">manager/src/api.ts:71</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Removes a value stored in the Manager via a key, returns the Manager class, allowing for chains</p> </div> </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>key: <span class="tsd-signature-type">string</span></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <a href="_okikio_native.Manager.html" class="tsd-signature-type" data-tsd-kind="Class">Manager</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">></span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a name="set" class="tsd-anchor"></a> <h3>set</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon">set<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, value<span class="tsd-signature-symbol">: </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_okikio_native.ServiceManager.html" class="tsd-signature-type" data-tsd-kind="Class">ServiceManager</a></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Inherited from <a href="_okikio_native.AdvancedManager.html">AdvancedManager</a>.<a href="_okikio_native.AdvancedManager.html#set">set</a></p> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/native/src/manager.ts#L78">native/src/manager.ts:78</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Add a ManagerItem to AdvancedManager at a specified key</p> </div> </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>key: <span class="tsd-signature-type">string</span></h5> </li> <li> <h5>value: <a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <a href="_okikio_native.ServiceManager.html" class="tsd-signature-type" data-tsd-kind="Class">ServiceManager</a></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="stop" class="tsd-anchor"></a> <h3>stop</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">stop<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_okikio_native.ServiceManager.html" class="tsd-signature-type" data-tsd-kind="Class">ServiceManager</a></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/native/src/service.ts#L48">native/src/service.ts:48</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Call the stop method for all Services</p> </div> </div> <h4 class="tsd-returns-title">Returns <a href="_okikio_native.ServiceManager.html" class="tsd-signature-type" data-tsd-kind="Class">ServiceManager</a></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a name="values" class="tsd-anchor"></a> <h3>values</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon">values<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">[]</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Inherited from <a href="_okikio_native.AdvancedManager.html">AdvancedManager</a>.<a href="_okikio_native.AdvancedManager.html#values">values</a></p> <ul> <li>Defined in <a href="https://github.com/okikio/native/blob/65f4e63/packages/manager/src/api.ts#L30">manager/src/api.ts:30</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Returns the values of all items stored in the Manager as an Array</p> </div> </div> <h4 class="tsd-returns-title">Returns <a href="_okikio_native.Service.html" class="tsd-signature-type" data-tsd-kind="Class">Service</a><span class="tsd-signature-symbol">[]</span></h4> </li> </ul> </section> </section> </div> <div class="col-4 col-menu menu-sticky-wrap menu-highlight"> <nav class="tsd-navigation primary"> <ul> <li class=" "> <a href="../modules.html">Modules</a> </li> <li class=" tsd-kind-module"> <a href="../modules/_okikio_animate.html">@okikio/animate</a> </li> <li class=" tsd-kind-module"> <a href="../modules/_okikio_emitter.html">@okikio/emitter</a> </li> <li class=" tsd-kind-module"> <a href="../modules/_okikio_manager.html">@okikio/manager</a> </li> <li class="current tsd-kind-module"> <a href="../modules/_okikio_native.html">@okikio/native</a> </li> </ul> </nav> <nav class="tsd-navigation secondary menu-sticky"> <ul class="before-current"> </ul> <ul class="current"> <li class="current tsd-kind-class tsd-parent-kind-module"> <a href="_okikio_native.ServiceManager.html" class="tsd-kind-icon">Service<wbr>Manager</a> <ul> <li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"> <a href="_okikio_native.ServiceManager.html#constructor" class="tsd-kind-icon">constructor</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a href="_okikio_native.ServiceManager.html#app" class="tsd-kind-icon">app</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a href="_okikio_native.ServiceManager.html#config" class="tsd-kind-icon">config</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a href="_okikio_native.ServiceManager.html#emitter" class="tsd-kind-icon">emitter</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a href="_okikio_native.ServiceManager.html#map" class="tsd-kind-icon">map</a> </li> <li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"> <a href="_okikio_native.ServiceManager.html#length" class="tsd-kind-icon">length</a> </li> <li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"> <a href="_okikio_native.ServiceManager.html#size" class="tsd-kind-icon">size</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a href="_okikio_native.ServiceManager.html#_iterator_" class="tsd-kind-icon">[iterator]</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a href="_okikio_native.ServiceManager.html#add" class="tsd-kind-icon">add</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="_okikio_native.ServiceManager.html#boot" class="tsd-kind-icon">boot</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a href="_okikio_native.ServiceManager.html#clear" class="tsd-kind-icon">clear</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a href="_okikio_native.ServiceManager.html#delete" class="tsd-kind-icon">delete</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a href="_okikio_native.ServiceManager.html#entries" class="tsd-kind-icon">entries</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a href="_okikio_native.ServiceManager.html#forEach" class="tsd-kind-icon">for<wbr>Each</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a href="_okikio_native.ServiceManager.html#get" class="tsd-kind-icon">get</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a href="_okikio_native.ServiceManager.html#getMap" class="tsd-kind-icon">get<wbr>Map</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a href="_okikio_native.ServiceManager.html#has" class="tsd-kind-icon">has</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="_okikio_native.ServiceManager.html#init" class="tsd-kind-icon">init</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a href="_okikio_native.ServiceManager.html#keys" class="tsd-kind-icon">keys</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a href="_okikio_native.ServiceManager.html#last" class="tsd-kind-icon">last</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a href="_okikio_native.ServiceManager.html#remove" class="tsd-kind-icon">remove</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a href="_okikio_native.ServiceManager.html#set" class="tsd-kind-icon">set</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="_okikio_native.ServiceManager.html#stop" class="tsd-kind-icon">stop</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a href="_okikio_native.ServiceManager.html#values" class="tsd-kind-icon">values</a> </li> </ul> </li> </ul> <ul class="after-current"> </ul> </nav> </div> </div></div><footer class="with-border-bottom"> <div class="container"> <h2>Legend</h2> <div class="tsd-legend-group"> <ul class="tsd-legend"> <li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li> <li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li> <li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li> <li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li> </ul> <ul class="tsd-legend"> <li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li> <li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li> <li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li> </ul> <ul class="tsd-legend"> <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li> </ul> <ul class="tsd-legend"> <li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li> </ul> </div> </div></footer><div class="container tsd-generator"> <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/js/main.js"></script></body></html>