electron-react-python-template - v1.0.0
    Preparing search index...
    • Helper GET method for sending requests to and from the Python/Flask services.

      Type Parameters

      • T = unknown

      Parameters

      • route: string

        Path of the Python/Flask service you want to use.

      • callback: (data: T) => void

        Callback function which uses the returned data as an argument.

      • OptionalerrorCallback: (error: unknown) => void

      Returns void

      response data from Python/Flask service.