Close properly cleans up resources and cancels all operations. This method should be called when the BulkChecker is no longer needed to ensure proper resource cleanup and prevent goroutine leaks. Returns: - error: Any error that occurred during cleanup
()
| 469 | // Returns: |
| 470 | // - error: Any error that occurred during cleanup |
| 471 | func (bc *BulkChecker) Close() error { |
| 472 | bc.cancel() |
| 473 | return nil |
| 474 | } |
| 475 | |
| 476 | // BulkEntityPublisher handles entity-based permission check publishing. |
| 477 | // This struct provides a convenient interface for publishing entity permission |
no outgoing calls