Skip to content

AsyncUtils.props - #15

Open
Hugheth wants to merge 2 commits into
masterfrom
async-utils-props
Open

AsyncUtils.props#15
Hugheth wants to merge 2 commits into
masterfrom
async-utils-props

Conversation

@Hugheth

Copy link
Copy Markdown
Contributor

No description provided.

Comment threadlib/AsyncUtils.lua
The promise resolves to a table mapping the input table keys to resolved values.
]]
function AsyncUtils.props(things)
local keys = TableUtils.Keys(things)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, just needs some validation and tests (which you mentioned are on your list) 👍

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs assertions

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@Hugheth@inversion