_ => new LiftAjaxTransportType
LiftAjaxTransportType
does not actually need a Page
to work
new LiftAjaxTransportType(_)
essentially expands to
{ (p: Page) => new LiftAjaxTransportType(p) }
Page
so the constructor parameter was removed.
TransportType
s do need a Page
, the Page
factory takes a varargs of Page => TransportType
.
_ => new LiftAjaxTransportType
is like { (unusedName: Page) => new LiftAjaxTransportType }
myEventStream flatMap (ev => EventStream.ofSequence(1, 2, 3))