This commit is contained in:
2025-05-26 14:32:43 +02:00
parent 81741d20c1
commit 9cbf5b1cde
6 changed files with 206 additions and 0 deletions

View File

@ -363,4 +363,19 @@ func (o *Operations) Version(ctx context.Context) (string, bool, error) {
return strings.TrimSpace(res.Version), res.Stable, nil
}
func (o *Operations) AveragePosition(ctx context.Context) error {
var err error
go func() {
<-ctx.Done()
err = ctx.Err()
}()
if err = o.client.Emit("task", map[string]string{"name": "average_base_coordinates"}); err != nil {
return err
}
return err
}
var _ protocol.Operations = &Operations{}