| 30 | namespace { |
| 31 | |
| 32 | Value ConstructRefFromExisitingRef(const CallbackInfo& info) { |
| 33 | EscapableHandleScope scope(info.Env()); |
| 34 | FunctionReference ref; |
| 35 | FunctionReference movedRef; |
| 36 | ref.Reset(info[0].As<Function>()); |
| 37 | movedRef = std::move(ref); |
| 38 | |
| 39 | return scope.Escape(MaybeUnwrap(movedRef({}))); |
| 40 | } |
| 41 | |
| 42 | Value CallWithVectorArgs(const CallbackInfo& info) { |
| 43 | EscapableHandleScope scope(info.Env()); |
nothing calls this directly
no test coverage detected