IFClite TypeScript API
Guides
Packages
Preparing search index...
@ifc-lite/collab-server
InMemoryBlobStorage
Class InMemoryBlobStorage
In-memory storage. Default for tests + dev.
Implements
ServerBlobStorage
Index
Constructors
constructor
Methods
delete
get
has
list
put
Constructors
constructor
new
InMemoryBlobStorage
()
:
InMemoryBlobStorage
Returns
InMemoryBlobStorage
Methods
delete
delete
(
hash
:
string
)
:
Promise
<
boolean
>
Parameters
hash
:
string
Returns
Promise
<
boolean
>
get
get
(
hash
:
string
,
)
:
Promise
<
{
bytes
:
Uint8Array
<
ArrayBuffer
>
;
meta
:
ServerBlobMeta
}
|
null
>
Parameters
hash
:
string
Returns
Promise
<
{
bytes
:
Uint8Array
<
ArrayBuffer
>
;
meta
:
ServerBlobMeta
}
|
null
>
has
has
(
hash
:
string
)
:
Promise
<
boolean
>
Parameters
hash
:
string
Returns
Promise
<
boolean
>
list
list
()
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
put
put
(
hash
:
string
,
bytes
:
Uint8Array
,
contentType
?:
string
,
)
:
Promise
<
ServerBlobMeta
>
Parameters
hash
:
string
bytes
:
Uint8Array
Optional
contentType
:
string
Returns
Promise
<
ServerBlobMeta
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
delete
get
has
list
put
Guides
Packages
IFClite TypeScript API
Loading...
In-memory storage. Default for tests + dev.