Resolves the promise to fd.
The file-descriptor may be dup'd by this function and fd closed immediately.
Use await_fd or similar to retrieve the resolved FD.
| this |
a [class@Dex.Promise] |
| fd |
a file-descriptor for the resolve to resolve to |