close method

void close()
override

Closes the sink.

Calling this method more than once is allowed, but does nothing.

Neither add nor addError must be called after this method.

Implementation

void close(){
if((rf$1 is dc.Function)){
(rf$1 as dc.Function)(null, );
}else if((rf$1 is lcoc_core.IFn$iface)){
(rf$1 as lcoc_core.IFn$iface).$_invoke$1(null, );
}else{
lcoc_core.IFn.extensions(rf$1, ).$_invoke$1(rf$1, null, );
}
if((error_rf$1 is dc.Function)){
(error_rf$1 as dc.Function)(null, );
}else if((error_rf$1 is lcoc_core.IFn$iface)){
(error_rf$1 as lcoc_core.IFn$iface).$_invoke$1(null, );
}else{
lcoc_core.IFn.extensions(error_rf$1, ).$_invoke$1(error_rf$1, null, );
}
return ((es$1 as da.EventSink).close());
}