Skip to main content

Documentation Index

Fetch the complete documentation index at: https://krono.fabianpiper.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Import

import { Orderbook } from '@krono/core'

Usage

Call this when the orderbook instance is no longer needed. It disconnects the socket, clears all memory buffers (history, price maps), and removes all event listeners.
// When component unmounts or app closes
orderbook.destroy()

Return Type

void