Options
All
  • Public
  • Public/Protected
  • All
Menu

External module kryo/core

This module defines most of the Typescript interfaces and type aliases used by Kryo.

Index

Type aliases

Lazy

Lazy<T>: T | function

Represents a lazy value of type T. You can retrieve it with const val = typeof lazy === "function" ? lazy() : lazy;. This library guarantees that it will be only called once but you should still ensure that it is idempotent.

Type parameters

  • T

Generated using TypeDoc