tvkitchen / appliances

A one stop shop for official TV Kitchen Appliances
GNU Lesser General Public License v3.0
3 stars 0 forks source link

Allow invoke to return null #74

Closed slifty closed 3 years ago

slifty commented 3 years ago

Task

Description

Right now AbstractAppliance requires invoke to return a PayloadArray, but as a quality of life improvement we should allow it to return null without breaking. Without this, an appliance might be forced to import PayloadArray simply to return an empty PayloadArray, which seems silly.