I currently have this setup where I have a method and some implicit resource and the method returns a function I can use later in my code.
type AResource = In