Function setState

  • Set the state

    Parameters

    • state: any

      state to set

    Returns Promise<void>