MCPcopy Create free account
hub / github.com/apple/foundationdb / wait

Method wait

bindings/python/fdb/impl.py:766–771  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

764
765class FutureKeyArray(Future):
766 def wait(self):
767 self.block_until_ready()
768 ks = ctypes.pointer(KeyStruct())
769 count = ctypes.c_int()
770 self.capi.fdb_future_get_key_array(self.fpointer, ctypes.byref(ks), ctypes.byref(count))
771 return [ctypes.string_at(x.key, x.key_length) for x in ks[0:count.value]]
772
773
774class FutureStringArray(Future):

Callers

nothing calls this directly

Calls 2

KeyStructClass · 0.70
block_until_readyMethod · 0.45

Tested by

no test coverage detected