Typescript Interface Async Function Example In Python How Can You Measure