Function preWrite

  • Parameters

    • level: number
    • state: CursorState
    • writer: ((level: number, state: CursorState) => Promise<void>)
        • (level, state): Promise<void>
        • Parameters

          Returns Promise<void>

    Returns Promise<void>