stillbox/pkg/server/ingest.go

13 lines
219 B
Go
Raw Normal View History

2024-08-01 01:01:08 -04:00
package server
import (
"context"
2024-08-05 18:11:31 -04:00
"dynatron.me/x/stillbox/pkg/calls"
2024-08-01 01:01:08 -04:00
)
func (s *Server) Ingest(ctx context.Context, call *calls.Call) error {
ctx = context.WithoutCancel(ctx)
return s.sinks.EmitCall(ctx, call)
2024-08-01 01:01:08 -04:00
}