Skip to content

Commit dafa8dc

Browse files
Instantiate assignment cache from factory method (FF-2113) (#83)
* Instantiate assignment cache from factory method (FF-2113) * docs * buh bye
1 parent 447cb61 commit dafa8dc

26 files changed

+132
-190
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@eppo/js-client-sdk](./js-client-sdk.md) &gt; [ChromeStorageAsyncStore](./js-client-sdk.chromestorageasyncstore.md) &gt; [(constructor)](./js-client-sdk.chromestorageasyncstore._constructor_.md)
4+
5+
## ChromeStorageAsyncStore.(constructor)
6+
7+
Constructs a new instance of the `ChromeStorageAsyncStore` class
8+
9+
**Signature:**
10+
11+
```typescript
12+
constructor(storageArea: chrome.storage.StorageArea, cooldownSeconds?: number | undefined);
13+
```
14+
15+
## Parameters
16+
17+
| Parameter | Type | Description |
18+
| --- | --- | --- |
19+
| storageArea | chrome.storage.StorageArea | |
20+
| cooldownSeconds | number \| undefined | _(Optional)_ |
21+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@eppo/js-client-sdk](./js-client-sdk.md) &gt; [ChromeStorageAsyncStore](./js-client-sdk.chromestorageasyncstore.md) &gt; [getEntries](./js-client-sdk.chromestorageasyncstore.getentries.md)
4+
5+
## ChromeStorageAsyncStore.getEntries() method
6+
7+
**Signature:**
8+
9+
```typescript
10+
getEntries(): Promise<Record<string, T>>;
11+
```
12+
**Returns:**
13+
14+
Promise&lt;Record&lt;string, T&gt;&gt;
15+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@eppo/js-client-sdk](./js-client-sdk.md) &gt; [ChromeStorageAsyncStore](./js-client-sdk.chromestorageasyncstore.md) &gt; [isExpired](./js-client-sdk.chromestorageasyncstore.isexpired.md)
4+
5+
## ChromeStorageAsyncStore.isExpired() method
6+
7+
**Signature:**
8+
9+
```typescript
10+
isExpired(): Promise<boolean>;
11+
```
12+
**Returns:**
13+
14+
Promise&lt;boolean&gt;
15+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@eppo/js-client-sdk](./js-client-sdk.md) &gt; [ChromeStorageAsyncStore](./js-client-sdk.chromestorageasyncstore.md) &gt; [isInitialized](./js-client-sdk.chromestorageasyncstore.isinitialized.md)
4+
5+
## ChromeStorageAsyncStore.isInitialized() method
6+
7+
**Signature:**
8+
9+
```typescript
10+
isInitialized(): boolean;
11+
```
12+
**Returns:**
13+
14+
boolean
15+
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@eppo/js-client-sdk](./js-client-sdk.md) &gt; [ChromeStorageAsyncStore](./js-client-sdk.chromestorageasyncstore.md)
4+
5+
## ChromeStorageAsyncStore class
6+
7+
**Signature:**
8+
9+
```typescript
10+
export declare class ChromeStorageAsyncStore<T> implements IAsyncStore<T>
11+
```
12+
**Implements:** IAsyncStore&lt;T&gt;
13+
14+
## Constructors
15+
16+
| Constructor | Modifiers | Description |
17+
| --- | --- | --- |
18+
| [(constructor)(storageArea, cooldownSeconds)](./js-client-sdk.chromestorageasyncstore._constructor_.md) | | Constructs a new instance of the <code>ChromeStorageAsyncStore</code> class |
19+
20+
## Methods
21+
22+
| Method | Modifiers | Description |
23+
| --- | --- | --- |
24+
| [getEntries()](./js-client-sdk.chromestorageasyncstore.getentries.md) | | |
25+
| [isExpired()](./js-client-sdk.chromestorageasyncstore.isexpired.md) | | |
26+
| [isInitialized()](./js-client-sdk.chromestorageasyncstore.isinitialized.md) | | |
27+
| [setEntries(entries)](./js-client-sdk.chromestorageasyncstore.setentries.md) | | |
28+
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@eppo/js-client-sdk](./js-client-sdk.md) &gt; [ChromeStorageAsyncStore](./js-client-sdk.chromestorageasyncstore.md) &gt; [setEntries](./js-client-sdk.chromestorageasyncstore.setentries.md)
4+
5+
## ChromeStorageAsyncStore.setEntries() method
6+
7+
**Signature:**
8+
9+
```typescript
10+
setEntries(entries: Record<string, T>): Promise<void>;
11+
```
12+
13+
## Parameters
14+
15+
| Parameter | Type | Description |
16+
| --- | --- | --- |
17+
| entries | Record&lt;string, T&gt; | |
18+
19+
**Returns:**
20+
21+
Promise&lt;void&gt;
22+

docs/js-client-sdk.chromestorageengine._constructor_.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

docs/js-client-sdk.chromestorageengine.getcontentsjsonstring.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/js-client-sdk.chromestorageengine.getmetajsonstring.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/js-client-sdk.chromestorageengine.md

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)