diff options
-rw-r--r-- | neuralnetworks/1.3/types.t | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/neuralnetworks/1.3/types.t b/neuralnetworks/1.3/types.t index a973923d8d..d4351ec8d7 100644 --- a/neuralnetworks/1.3/types.t +++ b/neuralnetworks/1.3/types.t @@ -553,6 +553,19 @@ safe_union OptionalTimePoint { }; /** + * Optional timeout duration measured in nanoseconds. + */ +safe_union OptionalTimeoutDuration { + /** No time point provided. */ + Monostate none; + + /** + * Timeout duration measured in nanoseconds. + */ + uint64_t nanoseconds; +}; + +/** * Return status of a function. */ enum ErrorStatus : @1.0::ErrorStatus { |