API which blcks to use for what line

Hi All

I have the following lines

PLEASE can someone tell me how which blocks to use for what?

import { Status, LoadsheddingStage } from ‘eskom-loadshedding-api’;


Status.getStatus().then((status: LoadsheddingStage) => console.log('Current status: ', status));

Taken from

Thanks

t

please explain what exactly you are trying to do, see also

Taifun