IOOps<F> class

Inheritance

Constructors

IOOps(FreeComposer<F, IOOp> composer)

Properties

composer → FreeComposer<F, IOOp>
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

attempt<A>(Free<IOOp, A> fa) → Free<F, Either<Object, A>>
closeFile(FileRef file) → Free<F, Unit>
delay<A>(Duration duration, Free<IOOp, A> a) → Free<F, A>
execute(String command, IList<String> arguments) → Free<F, ExecutionResult>
fail<A>(Object failure) → Free<F, A>
gather<A>(IList<Free<IOOp, A>> ops) → Free<F, IList<A>>
liftOp<A>(IOOp o) → Free<F, A>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openFile(String path, bool openForRead) → Free<F, FileRef>
println(String s) → Free<F, Unit>
readBytes(FileRef file, int byteCount) → Free<F, UnmodifiableListView<int>>
readln() → Free<F, String?>
toString() → String
A string representation of this object.
inherited
writeBytes(FileRef file, IList<int> bytes) → Free<F, Unit>

Operators

operator ==(Object other) → bool
The equality operator.
inherited