CPS constructor

CPS(
  1. Function fn, {
  2. List? args,
  3. Map<Symbol, dynamic>? namedArgs,
  4. String? name,
  5. Result? result,
})

Creates an instance of a CPS effect.

Implementation

CPS(this.fn, {this.args, this.namedArgs, this.name, Result? result})
    : super(result: result);