Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sendSync (0.19 sec)

  1. internal/event/targetlist.go

    // Send - sends events to targets identified by target IDs.
    func (list *TargetList) Send(event Event, targetIDset TargetIDSet, sync bool) {
    	if sync {
    		list.sendSync(event, targetIDset)
    	} else {
    		list.sendAsync(event, targetIDset)
    	}
    }
    
    func (list *TargetList) sendSync(event Event, targetIDset TargetIDSet) {
    	var wg sync.WaitGroup
    	for id := range targetIDset {
    		target, ok := list.get(id)
    		if !ok {
    			continue
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
Back to top