7dfc118 go : improve progress reporting and callback handling (#1024)

5 files Authored by Bo-Yi Wu 2 years ago, Committed by GitHub 2 years ago,
    go : improve progress reporting and callback handling (#1024)
    
    - Rename `cb` to `callNewSegment` in the `Process` function

    - Add `callProgress` as a new parameter to the `Process` function

    - Introduce `ProgressCallback` type for reporting progress during processing

    - Update `Whisper_full` function to include `progressCallback` parameter

    - Add `registerProgressCallback` function and `cbProgress` map for handling progress callbacks

    

    Signed-off-by: appleboy <appleboy.tw@gmail.com>
        
file modified
+1 -1
file modified
+37 -1
file modified
+1 -1