Hyperlinkv0.8.0-beta.28

ShardMap

ShardMap.ShardMapTagtypesrc/ShardMap.ts:238
ShardMapTag<Self, Key, Value, Error>

A ShardMap instance tag — wire contract plus stamped key / value / keyOf carriers.

models
Source src/ShardMap.ts:23812 lines
export type ShardMapTag<
  Self,
  Key extends Schema.Top,
  Value extends Schema.Top,
  Error extends Schema.Top = typeof Schema.Never,
> = HyperlinkTag<Self, ShardMapSpecOf<Key, Value, Error>> & {
  readonly [internal.keySchemaSym]: Key;
  readonly [internal.valueSchemaSym]: Value;
  readonly [internal.keyOfSym]: (
    value: Schema.Schema.Type<Value>,
  ) => Schema.Schema.Type<Key>;
};
Referenced by 4 symbols