diff --git a/wit/key-value.wit b/wit/key-value.wit index 8ccd0f2..871131b 100644 --- a/wit/key-value.wit +++ b/wit/key-value.wit @@ -8,6 +8,8 @@ interface key-value { /// /// Returns `ok(none)` if the key does not exist. get: func(key: string) -> result>, error>; + + get-by-index: func(key: string, index: u32) -> result>, error>; } /// The set of errors which may be raised by functions in this interface