added example of using in FutureInput scaladoc