Helper module used to build TaskMetadata structure.
(MCP protocol: 2025-11-25)
Short example:
%TaskMetadata{}
|> TaskMetadata.ttl(60_000)
|> TaskMetadata.build()Result:
%{ttl: 60000}Specification: TaskMetadata
Fields
| Field | Setter | Type | Required |
|---|---|---|---|
ttl | ttl/2 | non-negative integer | no |
Summary
Types
@type t() :: %OzMcp.Structs.TaskMetadata{ttl: non_neg_integer() | nil}
Functions
@spec ttl(t(), non_neg_integer() | nil) :: t()