@quenty/valueobject

13.1.0 • Public • Published

ValueObject

To work like value objects in Roblox and track a single item with .Changed events. The motivation here is to keep it simple to work with an encapsulated value. Instead of exposing an IPropertyChanged interface like C# might do, we instead expose objects with .Changed that are encapsulated within the object in question.

Installation

npm install @quenty/valueobject --save

Features

  • Battle tested
  • Can take in a default value
  • Automatically fires with a maid that exists for the lifetime of the value

Package Sidebar

Install

npm i @quenty/valueobject

Weekly Downloads

1,094

Version

13.1.0

License

MIT

Unpacked Size

28.6 kB

Total Files

9

Last publish

Collaborators

  • quenty