xubaiwang commented on issue #245:
URL: https://github.com/apache/arrow-js/issues/245#issuecomment-3193435713

   A method named with symbol `Symbol.for("Jupyter.display")` is the entry for 
jupyter integration.
   
   So it may be implemented like below
   
   ```ts
   class RecordBatch {
      // other methods and proerties
   
     // a method providing jupyter representation
     [Symbol.for("Jupyter.display")]() {
       // different mime types
       "text/plain": ...,
       "text/html": ...,
     }
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to