| 15 | } |
| 16 | |
| 17 | TaskJobImpl* TaskJobImpl::ctor(const maajs::CallbackInfo& info) |
| 18 | { |
| 19 | auto job = new TaskJobImpl; |
| 20 | job->source = maajs::PersistentObject(info[0].As<maajs::ObjectType>()); |
| 21 | job->id = maajs::JSConvert<uint64_t>::from_value(info[1]); |
| 22 | return job; |
| 23 | } |
| 24 | |
| 25 | void TaskJobImpl::init_proto(maajs::ObjectType proto, maajs::FunctionType) |
| 26 | { |
nothing calls this directly
no test coverage detected