Skip to Content

get Method

Retrieves the current value

@returns T

API

get(): T;

Example

import {KeyValueSourcePart, MemoryStorage} from '@bitfiber/rx'; // Creates a memory source part const source = new KeyValueSourcePart<number>('someKey', new MemoryStorage()); // Returns the source value const value = source.get();
Last updated on