Skip to content

Exo Composition: how to enhance an exo object with additional capabilities / methods? #9035

Answered by dckc
0xpatrickdev asked this question in Q&A
Discussion options

You must be logged in to vote

briefly: use prepareGuardedAttenuator, which includes:

   * Create an exo object whose behavior is composed from a default target
   * and/or individual method override callbacks.

By way of example, myAddressNameAdmin adds a provideChild method to enhance the normal nameAdmin from prepareNameHubKit.

const mixinMyAddress = prepareMixinMyAddress(zone);

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 0xpatrickdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants