You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,13 +72,13 @@ const second = await memoised('one'); // this will be returned from the cache
72
72
73
73
#### CacheingClient
74
74
75
-
[src/cacheing-client.ts:16-107](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/cacheing-client.ts#L16-L107"Source code on GitHub")
75
+
[src/cacheing-client.ts:16-107](https://github.com/bbeesley/bags-of-cache/blob/8e13b475a028cda8c14fadd92b7ab951213ab733/src/cacheing-client.ts#L16-L107"Source code on GitHub")
76
76
77
77
Base client used to create clients with in memory caches
78
78
79
79
##### get
80
80
81
-
[src/cacheing-client.ts:46-49](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/cacheing-client.ts#L46-L49"Source code on GitHub")
81
+
[src/cacheing-client.ts:46-49](https://github.com/bbeesley/bags-of-cache/blob/8e13b475a028cda8c14fadd92b7ab951213ab733/src/cacheing-client.ts#L46-L49"Source code on GitHub")
82
82
83
83
Gets an item in the cache
84
84
@@ -90,7 +90,7 @@ Returns **any** {\*}
90
90
91
91
##### memoise
92
92
93
-
[src/cacheing-client.ts:59-71](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/cacheing-client.ts#L59-L71"Source code on GitHub")
93
+
[src/cacheing-client.ts:59-71](https://github.com/bbeesley/bags-of-cache/blob/8e13b475a028cda8c14fadd92b7ab951213ab733/src/cacheing-client.ts#L59-L71"Source code on GitHub")
94
94
95
95
Memoises an arbitrary function using the cache
96
96
@@ -102,7 +102,7 @@ Returns **any** {T} Memoised version of the function
102
102
103
103
##### set
104
104
105
-
[src/cacheing-client.ts:81-85](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/cacheing-client.ts#L81-L85"Source code on GitHub")
105
+
[src/cacheing-client.ts:81-85](https://github.com/bbeesley/bags-of-cache/blob/8e13b475a028cda8c14fadd92b7ab951213ab733/src/cacheing-client.ts#L81-L85"Source code on GitHub")
106
106
107
107
Sets an item in the cache
108
108
@@ -116,15 +116,15 @@ Returns **void** 
116
116
117
117
##### stop
118
118
119
-
[src/cacheing-client.ts:92-94](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/cacheing-client.ts#L92-L94"Source code on GitHub")
119
+
[src/cacheing-client.ts:92-94](https://github.com/bbeesley/bags-of-cache/blob/8e13b475a028cda8c14fadd92b7ab951213ab733/src/cacheing-client.ts#L92-L94"Source code on GitHub")
120
120
121
121
Empties the cache
122
122
123
123
Returns **void** 
124
124
125
125
##### createCacheKey
126
126
127
-
[src/cacheing-client.ts:104-106](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/cacheing-client.ts#L104-L106"Source code on GitHub")
127
+
[src/cacheing-client.ts:104-106](https://github.com/bbeesley/bags-of-cache/blob/8e13b475a028cda8c14fadd92b7ab951213ab733/src/cacheing-client.ts#L104-L106"Source code on GitHub")
[src/dynamo-client.ts:23-23](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/dynamo-client.ts#L23-L23"Source code on GitHub")
192
+
[src/dynamo-client.ts:23-23](https://github.com/bbeesley/bags-of-cache/blob/8e13b475a028cda8c14fadd92b7ab951213ab733/src/dynamo-client.ts#L23-L23"Source code on GitHub")
193
193
194
194
When we get no items back from a query we will not retry the query within this time (ms)
[src/dynamo-client.ts:30-30](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/dynamo-client.ts#L30-L30"Source code on GitHub")
200
+
[src/dynamo-client.ts:30-30](https://github.com/bbeesley/bags-of-cache/blob/8e13b475a028cda8c14fadd92b7ab951213ab733/src/dynamo-client.ts#L30-L30"Source code on GitHub")
[src/dynamo-client.ts:37-37](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/dynamo-client.ts#L37-L37"Source code on GitHub")
208
+
[src/dynamo-client.ts:37-37](https://github.com/bbeesley/bags-of-cache/blob/8e13b475a028cda8c14fadd92b7ab951213ab733/src/dynamo-client.ts#L37-L37"Source code on GitHub")
[src/dynamo-client.ts:47-173](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/dynamo-client.ts#L47-L173"Source code on GitHub")
216
+
[src/dynamo-client.ts:47-173](https://github.com/bbeesley/bags-of-cache/blob/8e13b475a028cda8c14fadd92b7ab951213ab733/src/dynamo-client.ts#L47-L173"Source code on GitHub")
217
217
218
218
**Extends CacheingClient**
219
219
220
220
Client for dynamo tables. Makes dynamo requests and caches the results.
221
221
222
222
##### getItem
223
223
224
-
[src/dynamo-client.ts:82-109](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/dynamo-client.ts#L82-L109"Source code on GitHub")
224
+
[src/dynamo-client.ts:82-109](https://github.com/bbeesley/bags-of-cache/blob/8e13b475a028cda8c14fadd92b7ab951213ab733/src/dynamo-client.ts#L82-L109"Source code on GitHub")
225
225
226
226
Gets a single item from the table by key and caches the result
[src/dynamo-client.ts:119-133](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/dynamo-client.ts#L119-L133"Source code on GitHub")
236
+
[src/dynamo-client.ts:119-133](https://github.com/bbeesley/bags-of-cache/blob/8e13b475a028cda8c14fadd92b7ab951213ab733/src/dynamo-client.ts#L119-L133"Source code on GitHub")
237
237
238
238
Sends an arbitrary dynamo query, cacheing the results
Copy file name to clipboardExpand all lines: docs/README.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,13 +74,13 @@ const second = await memoised('one'); // this will be returned from the cache
74
74
75
75
#### CacheingClient
76
76
77
-
[src/cacheing-client.ts:16-107](https://github.com/bbeesley/bags-of-cache/blob/00004dbb912cdc5abbe9858e958ab713f7285e5e/src/cacheing-client.ts#L16-L107"Source code on GitHub")
77
+
[src/cacheing-client.ts:16-107](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/cacheing-client.ts#L16-L107"Source code on GitHub")
78
78
79
79
Base client used to create clients with in memory caches
80
80
81
81
##### get
82
82
83
-
[src/cacheing-client.ts:46-49](https://github.com/bbeesley/bags-of-cache/blob/00004dbb912cdc5abbe9858e958ab713f7285e5e/src/cacheing-client.ts#L46-L49"Source code on GitHub")
83
+
[src/cacheing-client.ts:46-49](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/cacheing-client.ts#L46-L49"Source code on GitHub")
84
84
85
85
Gets an item in the cache
86
86
@@ -92,7 +92,7 @@ Returns **any** {\*}
92
92
93
93
##### memoise
94
94
95
-
[src/cacheing-client.ts:59-71](https://github.com/bbeesley/bags-of-cache/blob/00004dbb912cdc5abbe9858e958ab713f7285e5e/src/cacheing-client.ts#L59-L71"Source code on GitHub")
95
+
[src/cacheing-client.ts:59-71](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/cacheing-client.ts#L59-L71"Source code on GitHub")
96
96
97
97
Memoises an arbitrary function using the cache
98
98
@@ -104,7 +104,7 @@ Returns **any** {T} Memoised version of the function
104
104
105
105
##### set
106
106
107
-
[src/cacheing-client.ts:81-85](https://github.com/bbeesley/bags-of-cache/blob/00004dbb912cdc5abbe9858e958ab713f7285e5e/src/cacheing-client.ts#L81-L85"Source code on GitHub")
107
+
[src/cacheing-client.ts:81-85](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/cacheing-client.ts#L81-L85"Source code on GitHub")
108
108
109
109
Sets an item in the cache
110
110
@@ -118,15 +118,15 @@ Returns **void** 
118
118
119
119
##### stop
120
120
121
-
[src/cacheing-client.ts:92-94](https://github.com/bbeesley/bags-of-cache/blob/00004dbb912cdc5abbe9858e958ab713f7285e5e/src/cacheing-client.ts#L92-L94"Source code on GitHub")
121
+
[src/cacheing-client.ts:92-94](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/cacheing-client.ts#L92-L94"Source code on GitHub")
122
122
123
123
Empties the cache
124
124
125
125
Returns **void** 
126
126
127
127
##### createCacheKey
128
128
129
-
[src/cacheing-client.ts:104-106](https://github.com/bbeesley/bags-of-cache/blob/00004dbb912cdc5abbe9858e958ab713f7285e5e/src/cacheing-client.ts#L104-L106"Source code on GitHub")
129
+
[src/cacheing-client.ts:104-106](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/cacheing-client.ts#L104-L106"Source code on GitHub")
[src/dynamo-client.ts:23-23](https://github.com/bbeesley/bags-of-cache/blob/00004dbb912cdc5abbe9858e958ab713f7285e5e/src/dynamo-client.ts#L23-L23"Source code on GitHub")
194
+
[src/dynamo-client.ts:23-23](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/dynamo-client.ts#L23-L23"Source code on GitHub")
195
195
196
196
When we get no items back from a query we will not retry the query within this time (ms)
[src/dynamo-client.ts:30-30](https://github.com/bbeesley/bags-of-cache/blob/00004dbb912cdc5abbe9858e958ab713f7285e5e/src/dynamo-client.ts#L30-L30"Source code on GitHub")
202
+
[src/dynamo-client.ts:30-30](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/dynamo-client.ts#L30-L30"Source code on GitHub")
[src/dynamo-client.ts:37-37](https://github.com/bbeesley/bags-of-cache/blob/00004dbb912cdc5abbe9858e958ab713f7285e5e/src/dynamo-client.ts#L37-L37"Source code on GitHub")
210
+
[src/dynamo-client.ts:37-37](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/dynamo-client.ts#L37-L37"Source code on GitHub")
[src/dynamo-client.ts:47-173](https://github.com/bbeesley/bags-of-cache/blob/00004dbb912cdc5abbe9858e958ab713f7285e5e/src/dynamo-client.ts#L47-L173"Source code on GitHub")
218
+
[src/dynamo-client.ts:47-173](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/dynamo-client.ts#L47-L173"Source code on GitHub")
219
219
220
220
**Extends CacheingClient**
221
221
222
222
Client for dynamo tables. Makes dynamo requests and caches the results.
223
223
224
224
##### getItem
225
225
226
-
[src/dynamo-client.ts:82-109](https://github.com/bbeesley/bags-of-cache/blob/00004dbb912cdc5abbe9858e958ab713f7285e5e/src/dynamo-client.ts#L82-L109"Source code on GitHub")
226
+
[src/dynamo-client.ts:82-109](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/dynamo-client.ts#L82-L109"Source code on GitHub")
227
227
228
228
Gets a single item from the table by key and caches the result
[src/dynamo-client.ts:119-133](https://github.com/bbeesley/bags-of-cache/blob/00004dbb912cdc5abbe9858e958ab713f7285e5e/src/dynamo-client.ts#L119-L133"Source code on GitHub")
238
+
[src/dynamo-client.ts:119-133](https://github.com/bbeesley/bags-of-cache/blob/fb01d789356461306baf5d453182ce7cba34641c/src/dynamo-client.ts#L119-L133"Source code on GitHub")
239
239
240
240
Sends an arbitrary dynamo query, cacheing the results
0 commit comments