Skip to content

toreda/lifecycle

Repository files navigation

Toreda

CI

GitHub package.json version (branch) GitHub Release Date GitHub issues NPM Downloads

license

 

@toreda/lifecycle

 

Contents

 

Client Lifecycle

Lifecycle flow for client and app-side implementations.

Server Lifecycle

Lifecycle flow for server-side implementations.

Entity Lifecycle

Lifecycle flow for game engine Entities.

Scene Lifecycle

Lifecycle flow for game engine scenes containing Entities.

Addon Lifecycle

Lifecycle flow typically for client-side implementations but also used for server-side addons.

Connection Lifecycle

Lifecycle flow for remote connections established by both clients and servers.

Install

Yarn

$ yarn add @toreda/lifecycle

NPM

$ yarn add @toreda/lifecycle

 

Legal

License

MIT © Toreda, Inc.

Copyright

Copyright © 2019 – 2026 Toreda, Inc. All rights reserved.

Bundled third-party components (currently the Roboto fallback font, Apache-2.0) are attributed in NOTICES.

Website

Toreda's website can be found at toreda.com

Toreda Open Source Packages

Explore other open source packages by toreda.com designed to support generics and no runtime dependencies:

Package npm Description
@toreda/build-tools @toreda/build-tools Reusable helpers to simplify webpack and esbuild build pipelines.
@toreda/cache @toreda/cache Generic TTL-based object caching.
@toreda/fate @toreda/fate Typed result wrapper with built-in success, failure, and status context
@toreda/log @toreda/log Zero-dependency logger for browser, Node, and Web Workers with pluggable transports and granular filtering.
@toreda/strong-types @toreda/strong-types Self-validating types that eliminate boilerplate validation code
@toreda/time @toreda/time Type-safe time units with built-in conversion, math operations, and input validation.
@toreda/types @toreda/types Expressive aliases & helpers that clarify code intent.
@toreda/verify @toreda/verify Runtime schema and type validation with recursive definitions, custom types, and detailed validation output.

About

Standard lifecycle flows for server and client in TypeScript. Hierarchical delegates with event handlers similar to Android, Objective C, Swift.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors