Icon HelpCircleForumIcon Link

⌘K

Icon HelpCircleForumIcon Link
MemoryStorage

@fuel-ts/account v0.97.0 Docs


Icon LinkClass: MemoryStorage

Icon LinkImplements

Icon LinkConstructors

Icon Linknew MemoryStorage()

Icon InfoCircle

new MemoryStorage(): MemoryStorage

Icon LinkReturns

MemoryStorage

Icon LinkProperties

Icon Linkstorage

Icon InfoCircle

storage: Map<string, unknown>

Icon LinkDefined in

packages/account/src/wallet-manager/storages/memory-storage.ts:4 Icon Link

Icon LinkMethods

Icon Linkclear()

Icon InfoCircle

clear(): Promise<void>

Icon LinkReturns

Promise<void>

Icon LinkImplementation of

StorageAbstract .clear

Icon LinkDefined in

packages/account/src/wallet-manager/storages/memory-storage.ts:19 Icon Link


Icon LinkgetItem()

Icon InfoCircle

getItem<T>(key): Promise<null | T>

Icon LinkType Parameters

T

Icon LinkParameters

key: string

Icon LinkReturns

Promise<null | T>

Icon LinkImplementation of

StorageAbstract .getItem

Icon LinkDefined in

packages/account/src/wallet-manager/storages/memory-storage.ts:6 Icon Link


Icon LinkremoveItem()

Icon InfoCircle

removeItem(key): Promise<void>

Icon LinkParameters

key: string

Icon LinkReturns

Promise<void>

Icon LinkImplementation of

StorageAbstract .removeItem

Icon LinkDefined in

packages/account/src/wallet-manager/storages/memory-storage.ts:15 Icon Link


Icon LinksetItem()

Icon InfoCircle

setItem(key, value): Promise<void>

Icon LinkParameters

key: string

value: string

Icon LinkReturns

Promise<void>

Icon LinkImplementation of

StorageAbstract .setItem

Icon LinkDefined in

packages/account/src/wallet-manager/storages/memory-storage.ts:11 Icon Link