Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for registerHandlerAsBatched (0.39 sec)

  1. pkg/kube/krt/collection.go

    	h.mu.Lock()
    	defer h.mu.Unlock()
    	return maps.Values(h.collectionState.outputs)
    }
    
    func (h *manyCollection[I, O]) Register(f func(o Event[O])) Syncer {
    	return registerHandlerAsBatched[O](h, f)
    }
    
    func (h *manyCollection[I, O]) RegisterBatch(f func(o []Event[O], initialSync bool), runExistingState bool) Syncer {
    	if runExistingState {
    		h.recomputeMu.Lock()
    		defer h.recomputeMu.Unlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top