# FoundationDB Authors - FoundationDB Flow (Highlights) ![rw-book-cover|256](https://opengraph.githubassets.com/90eb6d664bac710da8f4cded38f5d1b097f57c56c66c1d916c24ce2d20cb4507/apple/foundationdb) ## Metadata **Review**:: [readwise.io](https://readwise.io/bookreview/61360579) **Source**:: #from/readwise #from/reader **Zettel**:: #zettel/fleeting **Status**:: #x **Authors**:: [[FoundationDB Authors]] **Full Title**:: FoundationDB Flow **Category**:: #articles #readwise/articles **Category Icon**:: 📰 **URL**:: [github.com](https://github.com/apple/foundationdb/tree/main/flow#using-flow) **Host**:: [[github.com]] **Highlighted**:: [[2026-06-16]] **Created**:: [[2026-06-20]] ## Highlights - The sender holds a `Promise<X>` to, sometime in the future, deliver a value of type `X` to the holder of the `Future<X>`. ([View Highlight](https://read.readwise.io/read/01kv6wyrt3rajbwj1xz6wexa42)) ^1025665807 Promise is used to resolve or reject the Future. - To use the `wait()` statement, a function needs to be declared as an ACTOR function, a special flow keyword which directs the flow compiler to create the necessary internal callbacks, etc. ([View Highlight](https://read.readwise.io/read/01kv6x0b0ndrfshvha32w8ragv)) ^1025666004