Zimanyar API
    Preparing search index...

    Function createHandler

    • The worker's behaviour, without the worker: one request in, one response out.

      Parameters

      • checker: Checker = ...
      • readLexicon: (bytes: Uint8Array) => Lexicon | Promise<Lexicon> = ...

      Returns (message: unknown) => Promise<WorkerResponse>