You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to be able to define first class properties with native objects. Psuedo-code:
declare_types! {
/// JS class wrapping Employee records.
pub class JsEmployee for Employee {
property name {
get(call) {
// return the value
}
set(call) {
// set the value
}
}
}
};
There seems to be (or have been) a SetAccessor method in the v8 or NaN API, but hard to find good references to it!
The text was updated successfully, but these errors were encountered:
It would be nice to be able to define first class properties with native objects. Psuedo-code:
There seems to be (or have been) a SetAccessor method in the v8 or NaN API, but hard to find good references to it!
The text was updated successfully, but these errors were encountered: