Skip to content

Add new Memory Event to refresh an address range #194

Closed
@yannickowow

Description

@yannickowow

Hi,
I open this request to have the ability to throw an event if a range of address has been updated.
Here is my first idea:

  • An event will inform a starting address that has been updated
  • This event will contain the new data
  • If this content is longer and filled by zeroes, an optional count can be used.

Thanks

interface MemoryEvent extends Event {
  event: 'memory';

  body: {
    /* Start address where memory has been updated */
    address: string;

    /**
     * The bytes read from memory, encoded using base64.
     */
    data: string;
    /* Number of bytes updated
     * If not specified, calculated using data length. 
     * If specified, fulfill with zeroes until count matches
     */
    count?: number;

  };
}

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions