pub async fn finish_file_generation(
generation_id: i64,
error: Option<Error>,
client_id: i32,
) -> Result<(), Error>
Expand description
Finishes the file generation
ยงArguments
generation_id
- The identifier of the generation processerror
- If passed, the file generation has failed and must be terminated; pass null if the file generation succeededclient_id
- The client id to send the request to