HomePhabricator
Diffusion Comm d91b71ecd866

Implement C++ class to pass Java lambda (Runnable interface implementation) to…

Description

Implement C++ class to pass Java lambda (Runnable interface implementation) to C++ code)

Summary: This differential implements JNI class to pass lambda between C++ and Java. It will be needed to use GlobalDBSingleton API in Java via JNI.

Test Plan: Hard to provide any valuable test procedure without corresponding Java code that would pass lambda to C++ with the help of this class.

Reviewers: tomek, atul, jon

Reviewed By: tomek

Subscribers: ashoat, abosh

Differential Revision: https://phab.comm.dev/D5235