Skip to content

Repository files navigation

Toreda

CI

GitHub package.json version (branch)GitHub Release DateGitHub issuesNPM 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:

PackagenpmDescription
@toreda/build-tools@toreda/build-toolsReusable helpers to simplify webpack and esbuild build pipelines.
@toreda/cache@toreda/cacheGeneric TTL-based object caching.
@toreda/fate@toreda/fateTyped result wrapper with built-in success, failure, and status context
@toreda/log@toreda/logZero-dependency logger for browser, Node, and Web Workers with pluggable transports and granular filtering.
@toreda/strong-types@toreda/strong-typesSelf-validating types that eliminate boilerplate validation code
@toreda/time@toreda/timeType-safe time units with built-in conversion, math operations, and input validation.
@toreda/types@toreda/typesExpressive aliases & helpers that clarify code intent.
@toreda/verify@toreda/verifyRuntime 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

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages