(registrations []protocol.Registration)
| 323 | } |
| 324 | |
| 325 | func (s *Server) registerCapability(registrations []protocol.Registration) { |
| 326 | go func() { |
| 327 | defer s.handlePanic("registerCapability") |
| 328 | |
| 329 | time.Sleep(registerCapabilityDelay) |
| 330 | s.client.RegisterCapability(context.Background(), protocol.RegistrationParams{ |
| 331 | Registrations: registrations, |
| 332 | }) |
| 333 | }() |
| 334 | } |
| 335 | |
| 336 | func (s *Server) Enqueue(event string, properties map[string]any) { |
| 337 | for property, value := range s.sessionTelemetryProperties { |
no test coverage detected