Socket
Socket
Sign inDemoInstall

tracking-decorator

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    tracking-decorator

A small decorator for tracking changed attributes in a class


Maintainers
1

Readme

Tracking Decorator Package

This decorator tracks when the pointers to specified attributes of a class change. Whenever this occurs, the attribute is added to a set of tracked attributes. These attributes can be accessed with Clas.tracked_attributes, and cleared with Class.clear()

The current primary usage is for delta compression in socket communications. Delta compression effectively means reducing the information to be sent, by only sending that which has changed since the last call.

Is intuitive and short to write, and has extremely minimal impact on performace.

Further functionality and customizability to come.

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc