I want to create a hook for ‘after.platform.init’ and in the hook add a function
foo(value) to the object. In the function, I want to access this.ask or this.$session.$data.
Later in a handler, I want to be able to call the function:
Do you have a sample?