# `GiocciPico`

Client API for Giocci platform.

# `exec_func`

```elixir
@spec exec_func(String.t(), tuple(), keyword()) :: result :: term()
```

Execute a function on an engine via the relay.

Options:
  - `:timeout` - Client call timeout in milliseconds.
  - `:measure_to` - When set to a pid, sends measurement timestamps as `{:giocci_measurements, timestamps}` to that process.

# `register_client`

```elixir
@spec register_client(String.t(), keyword()) :: :ok | {:error, reason :: term()}
```

Register this client to a relay.

Options:
  - `:timeout` - Client call timeout in milliseconds.
  - `:measure_to` - When set to a pid, sends measurement timestamps as `{:giocci_measurements, timestamps}` to that process.

# `save_module`

```elixir
@spec save_module(String.t(), module(), keyword()) :: :ok | {:error, reason :: term()}
```

Save a module to the relay.

Options:
  - `:timeout` - Client call timeout in milliseconds.
  - `:measure_to` - When set to a pid, sends measurement timestamps as `{:giocci_measurements, timestamps}` to that process.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
