ShardId.ts overview
Since v1.0.0
Exports Grouped by Category
Constructors
make
Signature
declare const make: (group: string, id: number) => ShardId
Since v1.0.0
Models
ShardId (class)
Signature
declare class ShardId
Since v1.0.0
toString (static method)
Signature
declare const toString: (shardId: { readonly group: string; readonly id: number }) => string
Since v1.0.0
fromStringEncoded (static method)
Signature
declare const fromStringEncoded: (s: string) => { readonly group: string; readonly id: number }
Since v1.0.0
fromString (static method)
Signature
declare const fromString: (s: string) => ShardId
Since v1.0.0
[Equal.symbol] (method)
Signature
declare const [Equal.symbol]: (that: ShardId) => boolean
Since v1.0.0
[Hash.symbol] (method)
Signature
declare const [Hash.symbol]: () => number
Since v1.0.0
toString (method)
Signature
declare const toString: () => string
Since v1.0.0
[TypeId] (property)
Signature
readonly [TypeId]: unique symbol
Since v1.0.0
Symbols
TypeId
Signature
declare const TypeId: unique symbol
Since v1.0.0
TypeId (type alias)
Signature
type TypeId = typeof TypeId
Since v1.0.0