I want to call a function when my status variable changes value, initially it is in null, but after the server sends me a response the value changes to true or fals
status