Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newStreamHandler (0.15 sec)

  1. internal/grid/handlers.go

    	if newResp == nil {
    		panic("newResp missing in NewStream")
    	}
    
    	s := newStreamHandler[Payload, Req, Resp](h)
    	if newReq != nil {
    		s.reqPool.New = func() interface{} {
    			return newReq()
    		}
    	} else {
    		s.InCapacity = 0
    	}
    	s.respPool.New = func() interface{} {
    		return newResp()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 27.7K bytes
    - Viewed (0)
Back to top