package com.atlassian.bitbucket.mesh.io;

import java.io.IOException;

@FunctionalInterface
public interface IoSupplier<T> {

    /**
     * Gets a result.
     *
     * @return a result
     * @throws IOException if producing the result fails
     */
    T get() throws IOException;
}
