News for hackers. Stuff that matters.
Re:Ask HN: What are some cool but obscure data structures yo... by cpburns2009 on Friday July 22, 2022 @12:11PM (#32193663)
A promise is an object representing an asynchronous result. Some languages, such as Python, call them futures. A promise object will typically have methods for determining if result is available, getting the result if it is, and registering callback functions to be called with the result when it's available.
Re:Ask HN: What are some cool but obscure data structures yo... by cauthon on Friday July 29, 2022 @07:47PM (#32282966)
Thank you!