UNPKG
@neo-one/node-storage-cache-esnext-esm
Version:
alpha (2.4.1-alpha-8)
latest (2.4.0)
2.4.1-alpha-8
2.4.1-alpha-4
2.4.1-alpha-3
2.4.1-alpha-2
2.4.0
2.3.0
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.2-alpha.0
1.0.1
1.0.0
1.0.0-preview.5
1.0.0-preview.4
1.0.0-preview.3
1.0.0-preview.2
1.0.0-preview.1
1.0.0-preview.0
1.0.0-alpha.82
1.0.0-alpha.81
1.0.0-alpha.80
1.0.0-alpha.79
1.0.0-alpha.78
1.0.0-alpha.77
1.0.0-alpha.76
1.0.0-alpha.75
1.0.0-alpha.74
1.0.0-alpha.73
1.0.0-alpha.72
1.0.0-alpha.71
1.0.0-alpha.70
1.0.0-alpha.69
1.0.0-alpha.68
1.0.0-alpha.67
NEO•ONE node storage cache.
neo-one.io
neo-one-suite/neo-one
@neo-one/node-storage-cache-esnext-esm
/
cacheStorage.d.ts
9 lines
(8 loc)
•
275 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
Storage
}
from
'@neo-one/node-core-esnext-esm'
;
export
interface
Environment
{
readonly
maxSizeBytes
:
number
; }
export
declare
const
cacheStorage
:
(
{ environment, storage, }: {
readonly
environment: Environment;
readonly
storage: Storage; }
) =>
Storage
;