Watchdog for different chips, boards

Hello there, I am using this simple watchdog timer in my Arduino projects.

#include <avr\wdt.h>

void setup() {
  Serial.begin(9600);
  // set watchdog to 8s
  wdt_enable(WDTO_8S);
  Serial.println("In setup");
}

void loop() {
 wdt_reset();
  Serial.println("Beggining of loop - WATCHDOG RESETTED");
  delay(10000);
  Serial.println("Code will not go there, will be resetted");
}

It will work on each Arduino or AVR boards, AtMega chips...

Will it work on 3rd party boards like ESP8266/32? I don't think so but i am asking more skillful members. Thank you and please, give me some easy example like I am using on Arduino boards. Thank you.

You have the datasheets for the other MCUs? As far as I know, most MCUs have a watchdog timer, just need to read through the datasheet.

This will help