Hyperlinkv0.9.0-beta.0

WorkPool

WorkPool.priorityEntrySelectorconstsrc/WorkPool.ts:1570
<Sch extends Schema.Top>(itemSchema: Sch): Schema.Struct<{
  readonly entryId: Schema.optionalKey<Schema.String>
  readonly key: Schema.optional<Schema.String>
  readonly item: Schema.optionalKey<Sch>
}>

Selector for priority-queue routing verbs.

wire schemas
Source src/WorkPool.ts:15706 lines
export const priorityEntrySelector = <Sch extends Schema.Top>(itemSchema: Sch) =>
  Schema.Struct({
    entryId: Schema.optionalKey(Schema.String),
    key: Schema.optional(Schema.String),
    item: Schema.optionalKey(itemSchema),
  });
Referenced by 1 symbols