shajara API Map
    Preparing search index...

    Interface Slice

    Controller for the current executor slice.

    interface Slice {
        shouldYield: () => boolean;
    }
    Index
    shouldYield: () => boolean

    Reports whether the current synchronous slice should yield.

    Type Declaration

      • (): boolean
      • Returns boolean

        true when the executor should defer remaining work.