<out T is array<string, mixed>>abstract | |
|---|---|
readonly | |
extends |
Result<T> |
A result that supports a time-to-live (TTL) hint for client-side caching.
| Methods | ||
|---|---|---|
public
|
__construct(int $ttlMs, CacheScope $cacheScope, MetaObject $meta = new MetaObject())
|
# |
| Methods inherited from Nexus\Mcp\Core\Schema\Result |
|---|
jsonSerialize(), getResultType() |
| Properties | |||
|---|---|---|---|
public
|
int
|
$ttlMs
|
# |
public
|
CacheScope
|
$cacheScope
|
# |
| Properties inherited from Nexus\Mcp\Core\Schema\Result |
|---|
$meta |