Who invented the first electric cooker?

The first electric cooker was invented by Thomas Edison in 1890 and he patented one of his design improvements for electric-resistance heaters on September 6 of that year under patent #446,811. However some say it was invented by the Canadian Thomas Ahearn in 1882.