Skip to main content
import { attemptStore } from '@intuned/runtime';

export declare const attemptStore: Store;
A key-value store that is scoped to the current attempt.

Store

export interface Store {
  get(key: string): any;
  set(key: string, value: any): void;
}
Methods

get

Parameters
key
string
required
The key to retrieve the value for.
ReturnsThe value associated with the key, or undefined if not found.

set

Parameters
key
string
required
The key to set the value for.
value
any
required
The value to store.
I