This repository has been archived by the owner on Aug 8, 2020. It is now read-only.
This repository has been archived by the owner on Aug 8, 2020. It is now read-only.
Add a symbol property to get current option chain's option #3
Open
Description
Now it's not possible to access option chains' current opts outside the chain callback, what if we can access the current opts of the option chain with a predefined symbol?
optionChain.optsSymbol = Symbol('option-chain-opts')
const fn = optionChain(optionDefinition, printOptionsAndArgs);
fn.foo[optionChain.optsSymbol] //=> {foo: true};
Metadata
Assignees
Labels
No labels
Activity