Thanks to visit codestin.com
Credit goes to effect-ts.github.io

Skip to main content Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

ShardId.ts overview

Since v1.0.0


Exports Grouped by Category


Constructors

make

Signature

declare const make: (group: string, id: number) => ShardId

Source

Since v1.0.0

Models

ShardId (class)

Signature

declare class ShardId

Source

Since v1.0.0

toString (static method)

Signature

declare const toString: (shardId: { readonly group: string; readonly id: number }) => string

Source

Since v1.0.0

fromStringEncoded (static method)

Signature

declare const fromStringEncoded: (s: string) => { readonly group: string; readonly id: number }

Source

Since v1.0.0

fromString (static method)

Signature

declare const fromString: (s: string) => ShardId

Source

Since v4.0.0

[Equal.symbol] (method)

Signature

declare const [Equal.symbol]: (that: ShardId) => boolean

Source

Since v1.0.0

[Hash.symbol] (method)

Signature

declare const [Hash.symbol]: () => number

Source

Since v1.0.0

toString (method)

Signature

declare const toString: () => string

Source

Since v1.0.0

[TypeId] (property)

Signature

readonly [TypeId]: unique symbol

Source

Since v1.0.0

Symbols

TypeId

Signature

declare const TypeId: unique symbol

Source

Since v1.0.0

TypeId (type alias)

Signature

type TypeId = typeof TypeId

Source

Since v1.0.0