( ctx context.Context, srv *Server, self T, )
| 1977 | } |
| 1978 | |
| 1979 | func NewObjectResultForCurrentCall[T Typed]( |
| 1980 | ctx context.Context, |
| 1981 | srv *Server, |
| 1982 | self T, |
| 1983 | ) (ObjectResult[T], error) { |
| 1984 | return NewObjectResultForCall(self, srv, CurrentCall(ctx)) |
| 1985 | } |
| 1986 | |
| 1987 | func NewObjectResultForCall[T Typed]( |
| 1988 | self T, |