set Method
Sets a value for the specified key
@param key: string
The key to associate the value with
@param value: T
The value to be set for the key
API
set(key: string, value: T): void;
Example
import {memoryStorage} from '@bitfiber/rx';
const ms = memoryStorage();
ms.set('key', 'value');