ltk::files

Function read

Source
pub fn read<M: Send + 'static>(
    path: impl Into<PathBuf>,
    sender: &ChannelSender<M>,
    done: impl FnOnce(Result<Vec<u8>>) -> M + Send + 'static,
)
Expand description

The whole of a small file.