Typescript Interface Async Function Example In Matlab