This is an automated email from the ASF dual-hosted git repository.

harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new b1273ba27f Added finally stub
b1273ba27f is described below

commit b1273ba27fca9135b4a48f52747084c10e2ed227
Author: Harbs <ha...@in-tools.com>
AuthorDate: Sun Nov 27 14:05:52 2022 +0200

    Added finally stub
---
 frameworks/projects/Core/src/main/royale/Promise.as | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/frameworks/projects/Core/src/main/royale/Promise.as 
b/frameworks/projects/Core/src/main/royale/Promise.as
index 47fea7280d..19d4c9972b 100644
--- a/frameworks/projects/Core/src/main/royale/Promise.as
+++ b/frameworks/projects/Core/src/main/royale/Promise.as
@@ -272,6 +272,11 @@ package
                        //TODO implement catch
                        return null;
                }
+               
+               public function finally(onFinally:Function):IThenable
+               {
+                       throw new Error("Method not implemented.");
+               }
 
        }
 }

Reply via email to