UNPKG

sharedmap

Version:

Multithreading-compatible SharedMap in vanilla JS

33 lines (21 loc) 787 B
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [1.2.0] 2020-06-18 ### Added - Add ES Module interface and TS definitions from [@takase1121](https://github.com/takase1121) ## [1.1.1] 2020-06-08 ### Changed - Fixed overflow exception causing an infinite loop and added a unit test for it ## [1.1.0] 2020-05-30 ### Added - Added thread-safe map() and reduce() - Added public lockWrite() - Added opt.lockWrite/opt.lockExclusive option for get(),set() and delete() ## [1.0.1] 2020-05-29 ### Added - Added jsdoc ## [1.0.0] 2020-05-26 ### Added - First official release