class Movie::Streams::Typed::MaterializationScope

Overview

Tracks edges created during one synchronous materialization call. A nested successful scope transfers ownership to its parent; an escaping exception cancels every edge created by that scope in reverse order.

Defined in:

movie/streams/core.cr

Instance Method Summary

Instance Method Detail

def absorb(rollbacks : Array(Proc(Nil))) #

[View source]
def commit_to(parent : MaterializationScope | Nil) #

[View source]
def rollback #

[View source]
def track(&rollback : -> Nil) #

[View source]