Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewPayload (0.04 sec)

  1. internal/grid/README.md

        // Due to current generics limitations, a constructor of the empty type must be provided.
        instance := grid.NewStream[*Payload, *Req, *Resp](h, newPayload, newReq, newResp)
    
        // Tweakable options
        instance.WithPayload = true // default true when newPayload != nil
        instance.OutCapacity = 1    // default
        instance.InCapacity = 1     // default true when newReq != nil
    
        // Register the handler on the manager
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top