addToBuilderAsBlocking static method
void
addToBuilderAsBlocking(})
Adds the implementation of the NSSoundDelegate protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as blocking
listeners will be.
Note: You cannot call this method after you have called builder.build.
Implementation
static void addToBuilderAsBlocking(
objc.ObjCProtocolBuilder builder, {
void Function(NSSound, bool)? sound_didFinishPlaying_,
bool $keepIsolateAlive = true,
}) {
NSSoundDelegate.sound_didFinishPlaying_.implementAsBlocking(
builder,
sound_didFinishPlaying_,
);
builder.addProtocol($protocol);
}