Cancel Conversion Task
ComPDF Conversion SDK supports interrupting your ongoing conversion task at any time. The following example demonstrates how to interrupt your ongoing conversion task.
go
type myCallback struct {
compdf.BaseCallback
}
func (c *myCallback) IsCancelled() bool {
return false
}
callback := &myCallback{}