Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DataStore

description

simple data store class for Crawler Library

author

Alex Chomiak

date

2020-06-25

export

Hierarchy

  • DataStore

Index

Constructors

Properties

Methods

Constructors

constructor

  • Creates an instance of DataStore.

    author

    Alex Chomiak

    date

    2020-06-25

    memberof

    DataStore

    Returns DataStore

Properties

Private map

map: Map<string, any>

Methods

get

  • get(key: string): any
  • description

    get value from store

    author

    Alex Chomiak

    date

    2020-06-25

    memberof

    DataStore

    Parameters

    • key: string

    Returns any

set

  • set(key: string, value: any): void
  • description

    set value in store

    author

    Alex Chomiak

    date

    2020-06-25

    memberof

    DataStore

    Parameters

    • key: string
    • value: any

    Returns void

Generated using TypeDoc