open-index/open-npm huggingface dataset:
npm package: @subiz/wsclient
Description: This library implements subiz long polling protocol
Author: Thanh Pham
Latest version: 4.0.34

# Subiz wsclient

This library implements subiz long polling protocol

## Method

### subscribe

### onEvent

### stop

## Example

```js
var Realtime = require('@subiz/wsclient')
var realtime = new Realtime('https://realtime-0.subiz.net/', {
	account_id: 'ac1234',
	getAccessToken: () => '333344',
	user_mask: 'mask123',
})

realtime.onEvent((ev) => console.log(ev))

// subscribe events
await realtime.subscribe(['message_sent', 'user_info_updated'])
console.log(realtime.getStatus()) // 'active'

realtime.stop()
```
npm package: @subjected/core
Description: Subjected library core API
Author: Brandon Burrus
Latest version: 0.2.3
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @subjected/core

This package contains the core implementation of the Subjected library.

The core includes:

- StateContainer which manage a consolidated state entity, providing a minimal
    API to make changes to this state, subscribe to changes, and respond to
    state lifecycle events via Extensions.
- Selectors which allow you to subscribe to "substates" of a state container,
    this is the key entity which enables efficient rendering of component trees.
- Computed selectors which let you aggregate state containers, selectors, and
    even other computed selectors together into a single value.
- EffectRunner which is the base entity that resolves side effects for a state
    container while it is resolving a state change action.
- Action Resolver resolution, the main implementation for how state changes can
    be composed together using generator functions.
npm package: @subjected/react
Description: React bindings for the Subjected library
Author: Brandon Burrus
Latest version: 0.2.3
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @subjected/react

This package contains bindings for using Subjected with React.

These bindings are only focused on connecting a React component to an entity
in Subjected like a State Container, Selector, or Action Resolver.