Link Search Menu Expand Document

Task overview

Added in v0.3.2


Table of contents


LoggerTask (interface)

Signature

export interface LoggerTask<A> {
  (a: A): Task<void>
}

Added in v0.3.2

URI (type alias)

Signature

export type URI = typeof URI

Added in v0.3.2

URI

Signature

export const URI: "LoggerTask" = ...

Added in v0.3.2

contramap

Signature

<A, B>(f: (b: B) => A) => (fa: LoggerTask<A>) => LoggerTask<B>

Added in v0.3.2

filter

Signature

export const filter: <A>(logger: LoggerTask<A>, predicate: Predicate<A>) => LoggerTask<A> = ...

Added in v0.3.2

getMonoid

Signature

export const getMonoid: <A = never>() => Monoid<LoggerTask<A>> = ...

Added in v0.3.2

loggerTask

Signature

export const loggerTask: Contravariant1<URI> = ...

Added in v0.3.2