Closed veksha closed 10 months ago
lambda *args: self._do_on_open(ed_self)
is this callback started now only once? what if it starts 2 times? if it is 'fixed' name of callback (eg 'cuda_lsp.do_start') then it starts only once. if it is lambda, i am not sure.
"lambda function will not be called itself by simply defining it. It will only be executed when it is invoked as a regular function."
>>> lambda: print(123) >>> (lambda: print(123))() 123
lambda *args: self._do_on_open(ed_self)
is this callback started now only once? what if it starts 2 times? if it is 'fixed' name of callback (eg 'cuda_lsp.do_start') then it starts only once. if it is lambda, i am not sure.