Skip to content

Commit c432ec5

Browse files
Jake ChampionJakeChampion
authored andcommitted
add wit definition for kv store delete functions
1 parent 52690e9 commit c432ec5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

runtime/js-compute-runtime/host_interface/wit/deps/fastly/compute-at-edge.wit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,10 @@ interface object-store {
582582

583583
pending-lookup-wait: func(handle: pending-handle) -> result<option<body-handle>, error>
584584

585+
delete-async: func(store: handle, key: string) -> result<pending-handle, error>
586+
587+
pending-delete-wait: func(handle: pending-handle) -> result<_, error>
588+
585589
// Should object store insert return "inserted" bool?
586590
insert: func(store: handle, key: string, body-handle: body-handle) -> result<_, error>
587591

0 commit comments

Comments
 (0)