A Function that may throw an IOException (functional interface).
Applies this function to the given argument t.