UNPKG

inertia-sails

Version:
16 lines (13 loc) 369 B
const ignoreFirstLoadSymbol = require('../helpers/ignore-first-load-symbol') const MergeableProp = require('./mergeable-prop') module.exports = class DeferProp extends MergeableProp { constructor(callback, group) { super() this.callback = callback this.group = group this[ignoreFirstLoadSymbol] = true } getGroup() { return this.group } }