Type Alias CloseHandlerResult

CloseHandlerResult: { action: CloseAction; handled?: boolean; message?: string }

Type declaration

  • action: CloseAction

    The action to take.

  • Optionalhandled?: boolean

    If set to true the client assumes that the corresponding close handler has presented an appropriate message to the user and the message will only be log to the client's output channel.

  • Optionalmessage?: string

    An optional message to be presented to the user.