mirror of
https://github.com/qmlnet/qmlnet.git
synced 2026-05-15 14:15:54 -06:00
[PR #40] [MERGED] Implemented support for awaiting on tasks with results. #183
Labels
No labels
bug
enhancement
help wanted
help wanted
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/qmlnet#183
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/qmlnet/qmlnet/pull/40
Author: @pauldotknopf
Created: 7/27/2018
Status: ✅ Merged
Merged: 7/27/2018
Merged by: @pauldotknopf
Base:
master← Head:task-await📝 Commits (10+)
84e9b72Added a new variant type "NetJsValue".2fa3053Added some tests for NetJsValue.83af263Checking in what I got. I've realized that something else needs to be done before I can continue.46b416bFixing build.eab3916Support for invoking the callbacks.d6607d8Support invoking callback with parameters.965b6f0Additional verifications.aea560cSupport passing .NET objects to callbacks.bfde4aaAdded support for passing javascript objects into javascript functions from .NET.9acd70dFinished support for awaiting void tasks.📊 Changes
23 files changed (+779 additions, -51 deletions)
View changed files
📝
src/native/QmlNet/QmlNet.h(+2 -1)📝
src/native/QmlNet/QmlNet/qml/JsNetObject.cpp(+82 -0)📝
src/native/QmlNet/QmlNet/qml/JsNetObject.h(+2 -0)➕
src/native/QmlNet/QmlNet/qml/NetJsValue.cpp(+83 -0)➕
src/native/QmlNet/QmlNet/qml/NetJsValue.h(+27 -0)📝
src/native/QmlNet/QmlNet/qml/NetValue.cpp(+1 -1)📝
src/native/QmlNet/QmlNet/qml/NetValueMetaObject.cpp(+15 -1)📝
src/native/QmlNet/QmlNet/qml/NetVariant.cpp(+53 -3)📝
src/native/QmlNet/QmlNet/qml/NetVariant.h(+5 -2)📝
src/native/QmlNet/QmlNet/qml/qml.pri(+4 -2)📝
src/native/QmlNet/QmlNet/types/Callbacks.cpp(+8 -0)📝
src/native/QmlNet/QmlNet/types/Callbacks.h(+2 -0)📝
src/net/Qml.Net.Sandbox/Program.UI.cs(+8 -30)📝
src/net/Qml.Net.Sandbox/main.qml(+7 -7)➕
src/net/Qml.Net.Tests/Qml/AwaitTests.cs(+122 -0)➕
src/net/Qml.Net.Tests/Qml/JsValueTests.cs(+212 -0)📝
src/net/Qml.Net/Internal/DefaultCallbacks.cs(+31 -0)📝
src/net/Qml.Net/Internal/Helpers.cs(+5 -1)📝
src/net/Qml.Net/Internal/Interop.cs(+5 -1)➕
src/net/Qml.Net/Internal/Qml/NetJsValue.cs(+70 -0)...and 3 more files
📄 Description
Closes #21
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.