closeAsynch

closeAsynch(receiver: Object;
            msg:      String);

The closeAsynch method of the NamedPipe class closes a connection to a named pipe and returns immediately. When the connection is closed, the object specified in the receiver parameter is sent the name of the callback method specified in the msg parameter. The closeAsynch method can be called when the connection is in any state.

An exception is raised if this method is invoked from a server method when the server node is not running under a Windows operating system that supports services.

When the closeAsynch method completes, the user-written callback method specified in the msg parameter is called. The callback method must match the signature required by the calling closeAsynch method, as follows.

closeCallback(pipe: NamedPipe);